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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4402c6
push eax
mov eax, dword [esp + 0x1c]
mov dword fs:[0], esp
sub esp, 0x54
cmp word [eax + 0x1a], 0
push ebp
push esi
push edi
jne 0x424624
mov al, byte [esp + 0x7c]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.00417e30
mov edi, str.div:_Divide_by_zero
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.00403160
test al, al
je 0x4245c3
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, str.div:_Divide_by_zero
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], 0
call fcn.0042928a
mov cl, byte [esp + 0x7c]
push 0
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 1
call fcn.00417e30
mov edx, dword [0x441678]
lea eax, [esp + 0x14]
push edx
push 0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 2
mov dword [esp + 0x30], vtable.WONAPI::ArithmeticException.0
call fcn.00402e20
lea ecx, [esp + 0x24]
push 0x448780
push ecx
mov byte [esp + 0x70], 0
call fcn.00429361
mov esi, dword [esp + 0x78]
push eax
push esi
call fcn.00423fd0
add esp, 8
test eax, eax
jge 0x42466f
mov eax, dword [esp + 0x74]
test eax, eax
je 0x424648
push esi
push eax
call fcn.00423b80
add esp, 8
mov eax, dword [esp + 0x70]
test eax, eax
je 0x42482e
push eax
call fcn.00423cd0
add esp, 4
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
mov ebp, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x78]
mov esi, ebp
test ebp, ebp
mov edi, ebx
jne 0x4246af
push 0x20
call fcn.00439d85
add esp, 4
mov dword [esp + 0x74], eax
test eax, eax
mov dword [esp + 0x6c], 3
je 0x4246a3
mov ecx, eax
call fcn.00424970
jmp 0x4246a5
xor eax, eax
mov dword [esp + 0x6c], 0xffffffff
mov esi, eax
test ebx, ebx
jne 0x4246da
push 0x20
call fcn.00439d85
add esp, 4
mov dword [esp + 0x74], eax
test eax, eax
mov dword [esp + 0x6c], 4
je 0x4246d6
mov ecx, eax
call fcn.00424970
jmp 0x4246d8
xor eax, eax
mov edi, eax
test esi, esi
setne byte [esp + 0x18]
mov dword [esp + 0x1c], esi
test edi, edi
mov dword [esp + 0x6c], 5
mov dword [esp + 0x14], edi
setne byte [esp + 0x10]
test ebp, ebp
mov byte [esp + 0x6c], 6
je 0x424706
mov byte [esp + 0x18], 0
test ebx, ebx
je 0x42470f
mov byte [esp + 0x10], 0
lea ecx, [esp + 0x44]
call fcn.00424970
mov ebx, dword [esp + 0x7c]
mov byte [esp + 0x6c], 7
push ebx
push edi
call fcn.00423b80
push esi
call fcn.00423cd0
push ebx
call fcn.00423a40
mov edx, dword [esp + 0x90]
mov ebp, eax
push edx
call fcn.00423a40
sub ebp, eax
mov eax, dword [esp + 0x94]
push ebp
lea ecx, [esp + 0x5c]
push eax
push ecx
call fcn.00424050
add esp, 0x20
test ebp, ebp
jl 0x4247db
inc ebp
cmp word [esi + 0x1a], 0
jne 0x424790
lea edx, [esp + 0x44]
push edx
push edi
call fcn.00423fd0
add esp, 8
test eax, eax
jl 0x4247c4
push esi
call fcn.00423cf0
lea eax, [esp + 0x48]
push eax
push edi
push edi
call fcn.00423f10
add esp, 0x10
jmp 0x4247c4
push 1
push esi
push esi
call fcn.00424050
lea ecx, [esp + 0x50]
push ecx
push edi
call fcn.00423fd0
add esp, 0x14
test eax, eax
jl 0x4247c4
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x44]
push edx
push edi
mov ecx, dword [eax]
push edi
or ecx, 1
mov dword [eax], ecx
call fcn.00423f10
add esp, 0xc
lea eax, [esp + 0x44]
push 1
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.00424160
add esp, 0xc
dec ebp
jne 0x424760
mov eax, dword [esp + 0x80]
mov dl, byte [ebx + 0x1c]
mov cl, byte [eax + 0x1c]
xor dl, cl
lea ecx, [esp + 0x44]
mov byte [esi + 0x1c], dl
call fcn.00423b40
mov al, byte [esp + 0x10]
mov byte [esp + 0x6c], 5
test al, al
pop ebx
je 0x424811
test edi, edi
je 0x424811
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 8]
mov al, byte [esp + 0x14]
mov dword [esp + 0x68], 0xffffffff
test al, al
je 0x42482e
test esi, esi
je 0x42482e
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x60
ret