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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x559748
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5eba40]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x5eba40]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, ecx
mov cl, byte [ebx + 0x6c]
lea eax, [ebx + 0x30]
not cl
and cl, 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], eax
jne 0x4233a4
mov eax, dword [eax + 0x3c]
mov edx, eax
shr edx, 1
test dl, 1
jne 0x4233a4
and eax, 0x18
cmp al, 0x18
je 0x4233a4
cmp dword [ebx + 0xe8], 0
je 0x4233ab
xor al, al
jmp 0x4237a1
lea eax, [ebx + 0xc0]
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4233cf
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, 0xffff
sar ecx, 2
cmp cx, ax
je 0x4233a4
test edi, edi
je 0x42349d
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], 0
call fcn.0042d7f0
add esp, 4
test al, al
jne 0x4233fd
push edi
push 0xd8
mov ecx, ebx
call fcn.00422c10
cmp byte [ebx + 0x29], 0
mov ecx, edi
je 0x423460
xor eax, eax
lea edx, [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
push edx
lea eax, [esp + 0x30]
push eax
lea ebx, [esp + 0x4c]
call fcn.0042d840
add esp, 8
push 1
lea eax, [esp + 0x30]
call fcn.00427dd0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, esi
mov dword [eax + 0x68], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x6c], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], edx
jmp 0x42347d
lea eax, [esp + 0x2c]
push 0
push eax
xor ebx, ebx
call fcn.0042d840
add esp, 8
push ebx
lea eax, [esp + 0x30]
call fcn.00427dd0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x12c]
mov byte [eax + 0xac], cl
push eax
mov eax, dword [esp + 0x3c]
call fcn.00428e50
mov ebx, dword [esp + 0x20]
jmp 0x423517
movsx edx, byte [esi + 0xac]
mov eax, dword [ebx + 0x12c]
mov dword [esp + 0x20], eax
cmp edx, eax
je 0x4234cc
mov eax, esi
call fcn.00428d50
mov cl, byte [esp + 0x20]
movzx eax, ax
push esi
mov byte [esi + 0xac], cl
call fcn.00428e50
cmp word [esi + 0x10], 0
jne 0x423517
cmp word [esi + 0x12], 0
jne 0x423517
push 0
nop
call 0x7855a4ac
mov dword [esp + 0x54], edx
movzx edx, byte [ebx + 0x29]
add esp, 4
mov dword [esp + 0x4c], eax
push edx
lea eax, [esp + 0x50]
call fcn.00427dd0
cmp byte [ebx + 0x29], 0
je 0x423517
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, esi
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], edx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], edx
call fcn.00428d00
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00421870
mov edi, dword [esp + 0x18]
mov eax, edi
mov dword [esp + 0x80], 0
call fcn.00428d50
shr eax, 4
and al, 1
mov byte [esp + 0x1f], al
je 0x42358a
mov eax, dword [esp + 0x68]
test eax, eax
je 0x423566
dec eax
push eax
lea ecx, [esp + 0x58]
call 0x78485313
nop
mov al, byte [eax]
cmp al, 0x5c
je 0x42358a
cmp al, 0x2f
je 0x42358a
push 0x5c
lea esi, [esp + 0x58]
call fcn.004219a0
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x423580
lea eax, [esp + 0x58]
push 0
push eax
mov ecx, edi
call fcn.00428ac0
cmp dword [esp + 0x68], 0
jne 0x4235d8
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
jne 0x4235a0
xor eax, eax
jmp 0x4235a9
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
movzx edx, ax
push edx
lea eax, [esp + 0x58]
push 0x5d548c
push eax
call fcn.00421b00
mov eax, dword [esp + 0x64]
add esp, 0xc
cmp dword [esp + 0x6c], 0x10
jae 0x4235ce
lea eax, [esp + 0x58]
push 0
push eax
mov ecx, edi
call fcn.00428ac0
mov eax, dword [ebx + 0x138]
mov ecx, 0xff
test eax, eax
je 0x4235f3
cmp dword [ebx + 0x144], ecx
je 0x4235f3
mov al, 1
jmp 0x4235f5
xor al, al
mov edx, 0xffff
cmp word [ebp + 0x14], dx
setne byte [esp + 0x17]
test al, al
je 0x423624
mov al, byte [ebx + 0x144]
mov byte [edi + 0x7e], al
mov edx, dword [ebx]
mov eax, dword [ebx + 0x144]
mov edx, dword [edx + 4]
push eax
mov ecx, ebx
call edx
xor esi, esi
jmp 0x423642
mov byte [edi + 0x7e], cl
mov ecx, dword [ebx + 0x13c]
xor esi, esi
cmp ecx, esi
je 0x423642
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
push 1
call edx
mov dword [ebx + 0x13c], esi
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jl 0x42364f
cmp eax, 9
jle 0x423659
mov dword [ebp + 0xc], 0xffffffff
mov eax, dword [ebp + 0xc]
mov cx, word [ebx + 0x148]
mov word [edi + 0xe], cx
cmp eax, esi
je 0x423678
cmp word [ebx + 0x148], si
jne 0x423687
mov dword [ebp + 0xc], esi
mov eax, esi
jmp 0x423687
cmp word [ebx + 0x148], si
je 0x423687
xor edx, edx
mov word [edi + 0xe], dx
cmp byte [esp + 0x1f], 0
je 0x4236a4
cmp eax, esi
je 0x4236a4
mov dword [ebp + 0xc], esi
cmp word [ebx + 0x148], si
je 0x4236a4
xor eax, eax
mov word [edi + 0xe], ax
movzx eax, word [edi + 0xe]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
push eax
mov ecx, ebx
call edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x24]
push esi
push eax
push ecx
push edi
push edx
call fcn.0042a410
cmp byte [esp + 0x17], 0
mov edi, eax
mov dword [esp + 0x20], edi
je 0x423736
call fcn.00422520
lea esi, [edi + 0x30]
call fcn.00431120
mov ecx, edi
mov esi, eax
call fcn.004273f0
lea esi, [esi + eax + 0x1e]
mov eax, dword [esp + 0x28]
mov ecx, edi
call fcn.004224e0
movzx eax, ax
add eax, dword [edi + 0x24]
add eax, esi
mov esi, ebx
mov dword [esp + 0x24], eax
call fcn.00422710
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x42371a
lea eax, [esp + 0x58]
mov ecx, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
mov edi, ebx
call fcn.00424b70
mov esi, ebx
call fcn.00422770
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov eax, dword [ebx + 0xc4]
push esi
push eax
call fcn.00428640
mov ecx, dword [ebx + 0x13c]
test ecx, ecx
je 0x423761
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push esi
push edi
lea eax, [ebx + 0x130]
push eax
call edx
mov esi, dword [ebx + 0x13c]
mov eax, dword [ebx + 0xc4]
mov ecx, dword [ebx + 0x140]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push esi
push eax
mov eax, dword [ebp + 0xc]
push eax
call edx
lea ecx, [esp + 0x54]
mov dword [ebx + 0xe8], 1
mov dword [esp + 0x80], 0xffffffff
nop
call 0x78485ebb
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0051f15e
mov esp, ebp
pop ebp
ret 0x10