Function at 0x423330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53cb6b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5ac020]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x5ac020]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor eax, eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], eax
mov word [esp + 0x40], ax
mov byte [esp + 0xb0], 1
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], eax
mov word [esp + 0x58], ax
mov byte [esp + 0xb0], 2
mov ebx, dword [esi + 0xf4]
test ebx, ebx
je 0x423430
mov eax, dword [ebx + 0x168]
add ebx, 0x168
push 0
push 0x8858
mov ecx, ebx
call dword [eax + 0x5c]
mov edx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x74]
mov esi, dword [ebx + 0x68]
sub eax, edx
mov ecx, dword [ebx + 0x78]
and dword [ebx + 0x64], 0xfffffeff
push eax
mov eax, dword [ebx + 0x70]
mov edi, dword [ecx]
sub eax, esi
push eax
push edx
push esi
push ebx
call dword [edi + 0x1c]
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 0xf4]
test edx, edx
je 0x42344a
add edx, 0xa0
cmp dword [edx + 0x14], 8
jb 0x42344c
mov edx, dword [edx]
jmp 0x42344c
xor edx, edx
cmp word [edx], 0
jne 0x423456
xor ecx, ecx
jmp 0x42346f
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x423460
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423460
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00401f10
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x4234a5
cmp dword [eax + 0x13c], 0
je 0x42349b
mov edi, dword [eax + 0xf0]
mov ebx, dword [eax + 0xf4]
jmp 0x4234ad
mov edi, dword [eax + 0x14c]
mov ebx, edi
jmp 0x4234ad
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
cmp edi, ebx
jle 0x4234bf
mov eax, ebx
mov ebx, edi
mov dword [esp + 0x18], ebx
mov edi, eax
mov esi, dword [ebp + 8]
lea eax, [esi - 0x20]
mov dword [esp + 0x1c], eax
cmp ax, 0x5e
ja 0x4236d3
cmp si, 0x30
jb 0x4234df
cmp si, 0x39
jbe 0x4234f8
cmp si, 0x61
jb 0x4234eb
cmp si, 0x7a
jbe 0x4234f8
lea eax, [esi - 0x41]
cmp ax, 0x19
ja 0x4236d3
push 1
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x20
push eax
lea ecx, [esp + 0x34]
call fcn.0040c3d0
cmp eax, 0xffffffff
je 0x423558
mov dword [esp + 0x20], 0x20
nop
cmp eax, edi
jge 0x423525
dec edi
cmp eax, ebx
jge 0x42352a
dec ebx
push 0
push 0x56c344
push 1
push eax
lea ecx, [esp + 0x38]
call fcn.0040a600
push 1
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
call fcn.0040c3d0
cmp eax, 0xffffffff
jne 0x423520
mov dword [esp + 0x18], ebx
lea eax, [esi - 0x61]
cmp ax, 0x19
ja 0x423568
mov eax, dword [esp + 0x1c]
movzx esi, ax
xor eax, eax
mov word [esp + 0x24], si
mov word [esp + 0x26], ax
cmp edi, ebx
jge 0x423606
push edi
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x34]
call fcn.00412420
mov esi, eax
mov byte [esp + 0xb0], 3
lea eax, [esp + 0x70]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x34]
call fcn.00412420
mov byte [esp + 0xb0], 4
mov ecx, dword [esi + 0x10]
mov eax, dword [eax + 0x10]
inc ecx
add eax, ecx
cmp eax, 0x19
seta bl
mov byte [esp + 0xb0], 3
lea ecx, [esp + 0x70]
call fcn.00402220
mov byte [esp + 0xb0], 2
lea ecx, [esp + 0x88]
call fcn.00402220
test bl, bl
jne 0x4236d3
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
sub eax, edi
push eax
push edi
call fcn.0040a280
jmp 0x423623
mov eax, dword [esp + 0x38]
inc eax
cmp eax, 0x19
ja 0x4236d3
lea eax, [esp + 0x24]
push eax
push edi
lea ecx, [esp + 0x30]
call fcn.0040e3c0
push 0x56c344
lea ecx, [esp + 0x44]
inc edi
call fcn.00401fc0
mov ecx, dword [esp + 0x38]
xor esi, esi
test ecx, ecx
je 0x42369c
cmp ecx, esi
jbe 0x4236c9
cmp dword [esp + 0x3c], 8
lea eax, [esp + 0x28]
lea ecx, [esp + 0x40]
cmovae eax, dword [esp + 0x28]
movzx eax, word [eax + esi*2]
push eax
call fcn.004123b0
mov ecx, dword [esp + 0x38]
lea eax, [ecx - 1]
cmp esi, eax
jae 0x423697
mov eax, dword [esp + 0x50]
cmp eax, 5
je 0x423683
cmp eax, 0xb
je 0x423683
cmp eax, 0x11
je 0x423683
cmp eax, 0x17
jne 0x423697
cmp eax, edi
jge 0x423688
inc edi
push 0x20
lea ecx, [esp + 0x44]
call fcn.004123b0
mov ecx, dword [esp + 0x38]
inc esi
cmp ecx, esi
ja 0x423644
cmp dword [esp + 0x54], 8
lea eax, [esp + 0x40]
mov esi, dword [esp + 0x14]
mov ecx, esi
cmovae eax, dword [esp + 0x40]
push eax
call fcn.004c7020
mov ecx, dword [esi + 0xf4]
test ecx, ecx
je 0x4236d7
push edi
push edi
call fcn.004ecef0
jmp 0x4236d7
push str.invalid_string_position
call fcn.004ffb7d
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0xf4]
test esi, esi
je 0x423721
mov eax, dword [esi + 0x1e0]
add esi, 0x168
mov eax, dword [eax + 0x78]
test byte [eax + 0x64], 0x80
je 0x423713
mov eax, dword [esi]
mov ecx, esi
push 0
push 0x1f4
push 0x8858
mov dword [esi + 0x88], 1
call dword [eax + 0x58]
mov eax, dword [esi]
mov ecx, esi
or dword [esi + 0x64], 0x100
call dword [eax + 0x20]
mov byte [esp + 0xb0], 1
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
mov byte [esp + 0xb0], al
cmp dword [esp + 0x54], 8
jb 0x42375a
push dword [esp + 0x40]
call fcn.0051d3d0
add esp, 4
xor eax, eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x3c], 8
jb 0x42378f
push dword [esp + 0x28]
call fcn.0051d3d0
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret 4