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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58423e
push eax
mov dword fs:[0], esp
sub esp, 0x44c
push ebx
mov ebx, dword [esp + 0x460]
mov ecx, dword [ebx + 0x80e48]
test ecx, ecx
je 0x42e1e6
mov eax, dword [ebx + 0x80e4c]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x42e1e6
xor al, al
pop ebx
mov ecx, dword [esp + 0x44c]
mov dword fs:[0], ecx
add esp, 0x458
ret 4
push esi
xor esi, esi
push ebp
mov dword [esp + 0x18], esi
push edi
nop
cmp esi, 2
je 0x42e876
mov eax, dword [0x89ee3c]
test eax, eax
jne 0x42e20b
cmp esi, 3
je 0x42e876
xor eax, eax
mov byte [esp + 0x2d8], 0
mov ecx, 0x1f
lea edi, [esp + 0x2d9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x2dc]
push str.ex_d.dat
push ecx
call fcn.0056aefc
add esp, 0xc
push 0
push 1
lea edx, [esp + 0x2e0]
lea ecx, [ebx + 0xf768]
push edx
call fcn.00401d80
mov ebp, eax
xor edi, edi
cmp ebp, edi
je 0x42e8ad
push 4
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov dword [esp + 0x20], edi
call fcn.004019a0
mov eax, dword [esp + 0x18]
cmp eax, 0x2faf080
jle 0x42e285
xor eax, eax
mov dword [esp + 0x18], eax
cmp eax, edi
mov dword [esp + 0x24], edi
jle 0x42e824
push 1
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.004019a0
push 0x102
lea edx, [esp + 0x35c]
push edx
mov ecx, ebp
call fcn.004019a0
mov ecx, dword [esp + 0x28]
mov al, byte [esp + 0x359]
mov bl, byte [esp + 0x358]
push 0x2ac
push ecx
mov ecx, dword [esp + 0x474]
lea edx, [esp + 0x362]
mov byte [esp + 0x1c], al
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0054f860
xor edi, edi
mov cl, 0x4d
xor eax, eax
mov edi, edi
add cl, byte [esp + eax + 0x2c]
inc eax
cmp eax, 0x2ac
jb 0x42e2f0
cmp bl, cl
jne 0x42e8a1
mov al, byte [esp + 0x14]
xor bl, 0xda
cmp al, bl
jne 0x42e8a1
push 0x350
call fcn.0056ae19
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov dword [esp + 0x464], edi
je 0x42e338
mov ecx, eax
call fcn.0040afa0
mov edi, eax
mov dword [esp + 0x464], 0xffffffff
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x2c]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], ecx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x34]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov cl, byte [esp + 0x1c]
mov byte [edi + 8], cl
mov dl, byte [esp + 0x31]
mov byte [edi + 9], dl
mov edx, dword [edi + 0x10]
mov al, byte [esp + 0x32]
push 1
lea ecx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x20], al
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov edx, dword [edi + 0x24]
mov eax, dword [esp + 0x38]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov edx, dword [edi + 0x2c]
mov eax, dword [esp + 0x3c]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x2c]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov al, byte [esp + 0x33]
mov byte [edi + 0x14], al
lea eax, [esp + 0x40]
mov edx, eax
mov ecx, edi
sub ecx, edx
lea edx, [ecx + 0x30]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42e423
mov al, byte [edi + 0x42]
test al, al
jns 0x42e437
mov byte [edi + 0x42], cl
mov byte [edi + 0x43], 0
mov al, byte [esp + 0x57]
mov byte [edi + 0x47], al
mov cl, byte [esp + 0x59]
mov byte [edi + 0x49], cl
mov edx, dword [esp + 0x5c]
mov dword [edi + 0x4c], edx
mov eax, dword [esp + 0x60]
mov dword [edi + 0x50], eax
mov cl, byte [esp + 0x64]
mov byte [edi + 0x54], cl
mov edx, dword [esp + 0x68]
mov dword [edi + 0x58], edx
mov eax, dword [esp + 0x6c]
mov dword [edi + 0x5c], eax
mov cl, byte [esp + 0x70]
mov byte [edi + 0x60], cl
mov edx, dword [esp + 0x74]
mov dword [edi + 0x64], edx
mov eax, dword [esp + 0x78]
mov dword [edi + 0x68], eax
mov cl, byte [esp + 0x7c]
mov byte [edi + 0x6c], cl
mov edx, dword [esp + 0x80]
mov dword [edi + 0x70], edx
mov eax, dword [esp + 0x84]
mov dword [edi + 0x74], eax
mov cl, byte [esp + 0x88]
mov byte [edi + 0x78], cl
mov ecx, dword [edi + 0x80]
mov edx, dword [esp + 0x8c]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [edi + 0x88]
mov edx, dword [esp + 0x90]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov dl, byte [esp + 0x95]
mov byte [edi + 0x8d], dl
mov al, byte [esp + 0x94]
mov byte [edi + 0x8c], al
mov cl, byte [esp + 0x58]
mov byte [edi + 0x48], cl
mov ecx, dword [edi + 0x94]
mov edx, dword [esp + 0x98]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [edi + 0x9c]
mov edx, dword [esp + 0x9c]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov edx, dword [esp + 0xa0]
mov ecx, dword [edi + 0xa4]
push 1
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
push eax
push ecx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [edi + 0xac]
mov edx, dword [esp + 0xa4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [edi + 0xb4]
mov edx, dword [esp + 0xa8]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [edi + 0xbc]
mov edx, dword [esp + 0xac]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [edi + 0xc4]
mov edx, dword [esp + 0xb0]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [edi + 0xcc]
mov edx, dword [esp + 0xb4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [edi + 0xd4]
mov edx, dword [esp + 0xb8]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [edi + 0xdc]
mov edx, dword [esp + 0xbc]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov edx, dword [esp + 0xc0]
mov ecx, dword [edi + 0xe4]
push 1
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], edx
push ecx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [edi + 0xec]
mov edx, dword [esp + 0xc4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [edi + 0xf4]
mov edx, dword [esp + 0xc8]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [edi + 0xfc]
mov edx, dword [esp + 0xcc]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [edi + 0x104]
mov edx, dword [esp + 0xd0]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [edi + 0x10c]
mov edx, dword [esp + 0xd4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
lea ecx, [esp + 0xd8]
lea eax, [edi + 0x150]
mov esi, eax
mov edx, ecx
sub esi, edx
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x42e774
mov cl, byte [edi + 0x34e]
test cl, cl
jns 0x42e78e
mov byte [edi + 0x34e], dl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e791
sub eax, edx
cmp eax, 0x200
jae 0x42e7aa
mov byte [eax + edi + 0x151], cl
jmp 0x42e7b1
mov byte [edi + 0x350], 0
mov esi, dword [esp + 0x46c]
mov edx, dword [esi + 0x80e48]
add esi, 0x80e44
test edx, edx
jne 0x42e7cc
xor ecx, ecx
jmp 0x42e7d4
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x42e7f1
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x42e7f1
mov eax, dword [esi + 8]
mov dword [eax], edi
add eax, 4
mov dword [esi + 8], eax
jmp 0x42e804
mov eax, dword [esi + 8]
push eax
push esi
lea eax, [esp + 0x28]
mov ecx, 1
call fcn.00434000
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x42e291
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x46c]
mov al, byte [ebp + 0x1c]
test al, al
jne 0x42e85e
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42e83d
mov eax, dword [ebp]
push eax
mov ecx, ebp
call fcn.00401740
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x74]
test ecx, ecx
jne 0x42e84c
mov eax, dword [eax + 0x78]
jmp 0x42e84f
mov eax, dword [eax + 0x7c]
add dword [ebx + 0xf778], eax
mov byte [ebx + 0xf7b8], 0
jmp 0x42e864
dec dword [ebx + 0xf7bc]
mov ecx, dword [ebp]
push ecx
call fcn.0056c04d
push ebp
call fcn.0056c052
add esp, 8
inc esi
cmp esi, 4
mov dword [esp + 0x1c], esi
jl 0x42e1f0
mov al, 1
mov ecx, dword [esp + 0x45c]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x458
ret 4
push 0x19
mov cl, 1
call fcn.00414860
add esp, 4
xor al, al
jmp 0x42e886