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

Disassembly:
push 0xffffffffffffffff
push 0x493810
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b6170]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
lea eax, [esp + 0x28]
xor edi, edi
push eax
mov dword [esp + 0x50], edi
mov byte [esp + 0x1f], 0
call fcn.0041f2b0
mov byte [esp + 0x4c], 1
mov ecx, dword [esp + 0x34]
cmp ecx, edi
jne 0x4233dd
xor edx, edx
jmp 0x4233e6
mov edx, dword [esp + 0x3c]
sub edx, ecx
sar edx, 2
mov eax, dword [esp + 0x38]
mov esi, eax
sub esi, ecx
sar esi, 2
cmp esi, edx
jae 0x423404
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
add eax, 4
mov dword [esp + 0x38], eax
jmp 0x423428
mov esi, eax
cmp ecx, eax
jbe 0x42340f
call fcn.0043fb41
mov eax, dword [esp + 0x28]
push esi
push eax
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x38]
call fcn.0041f490
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0x34]
mov ecx, esi
sub ecx, dword [esp + 0x6c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
xor ebx, ebx
add ecx, edx
je 0x423558
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x38]
sub edx, ebp
sar edx, 2
mov byte [esp + 0x58], 0
test edx, edx
jbe 0x42350b
jmp 0x423470
sub esi, dword [esp + 0x6c]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x423490
call fcn.0043fb41
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x1c]
sub esp, 0x1c
lea eax, [ecx + edx]
mov ecx, esp
mov dword [esp + 0x3c], esp
xor edx, edx
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push edx
mov word [ecx + 4], dx
call fcn.004027a0
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x50]
sar eax, 2
cmp edi, eax
jb 0x4234d4
call fcn.0043fb41
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + edi*4]
mov eax, dword [esp + 0x70]
push edx
push eax
call fcn.00423770
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x70]
test al, al
jne 0x423506
mov ecx, dword [esp + 0x38]
sub ecx, ebp
inc edi
sar ecx, 2
cmp edi, ecx
jb 0x423470
jmp 0x42350b
mov byte [esp + 0x58], 1
cmp byte [esp + 0x5c], 0
je 0x423524
cmp byte [esp + 0x58], 0
je 0x4235d3
mov byte [esp + 0x1b], 1
jmp 0x42352f
cmp byte [esp + 0x58], 0
jne 0x42365d
add dword [esp + 0x1c], 0x1c
mov ecx, esi
sub ecx, dword [esp + 0x6c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
xor edi, edi
cmp ebx, eax
jb 0x423455
cmp byte [esp + 0x5c], 0
je 0x4236ec
cmp ebp, edi
je 0x423570
push ebp
call fcn.0043f604
add esp, 4
mov edx, dword [esp + 0x28]
push edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call fcn.0043f604
mov eax, dword [esp + 0x70]
add esp, 4
cmp eax, edi
je 0x4235b1
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x70]
push ecx
call fcn.00404cd0
mov edx, dword [esp + 0x70]
add esp, 4
push edx
call fcn.0043f604
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
call fcn.0043f604
mov al, byte [esp + 0x1f]
add esp, 4
jmp 0x423755
xor ebx, ebx
cmp ebp, ebx
je 0x4235e2
push ebp
call fcn.0043f604
add esp, 4
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.0043f604
mov eax, dword [esp + 0x70]
add esp, 4
cmp eax, ebx
je 0x423647
mov edi, dword [esp + 0x70]
cmp eax, edi
je 0x42363e
lea esi, [eax + 0x18]
mov edi, edi
cmp dword [esi], 8
jb 0x423621
mov edx, dword [esi - 0x14]
push edx
call fcn.0043f604
add esp, 4
xor eax, eax
mov dword [esi], 7
mov dword [esi - 4], ebx
mov word [esi - 0x14], ax
add esi, 0x1c
lea ecx, [esi - 0x18]
cmp ecx, edi
jne 0x423610
mov eax, dword [esp + 0x6c]
push eax
call fcn.0043f604
add esp, 4
mov edx, dword [esp + 0x60]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
push edx
jmp 0x42374b
xor ebx, ebx
cmp ebp, ebx
je 0x42366c
push ebp
call fcn.0043f604
add esp, 4
mov eax, dword [esp + 0x28]
push eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.0043f604
mov eax, dword [esp + 0x70]
add esp, 4
cmp eax, ebx
je 0x4236cf
mov edi, dword [esp + 0x70]
cmp eax, edi
je 0x4236c6
lea esi, [eax + 0x18]
cmp dword [esi], 8
jb 0x4236a9
mov ecx, dword [esi - 0x14]
push ecx
call fcn.0043f604
add esp, 4
xor edx, edx
mov dword [esi], 7
mov dword [esi - 4], ebx
mov word [esi - 0x14], dx
add esi, 0x1c
lea eax, [esi - 0x18]
cmp eax, edi
jne 0x423698
mov eax, dword [esp + 0x6c]
push eax
call fcn.0043f604
add esp, 4
mov ecx, dword [esp + 0x60]
push ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.0043f604
add esp, 4
mov al, 1
jmp 0x423755
cmp ebp, edi
je 0x4236f9
push ebp
call fcn.0043f604
add esp, 4
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call fcn.0043f604
mov eax, dword [esp + 0x70]
add esp, 4
cmp eax, edi
je 0x42373a
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x70]
push edx
call fcn.00404cd0
mov eax, dword [esp + 0x70]
add esp, 4
push eax
call fcn.0043f604
add esp, 4
xor edi, edi
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
push ecx
call fcn.0043f604
add esp, 4
xor al, al
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x24