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

Disassembly:
mov eax, 0x10f8
call fcn.004c0690
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x10f4], eax
mov eax, dword [esp + 0x10fc]
push ebx
mov ebx, dword [esp + 0x1104]
push ebp
mov ebp, dword [esp + 0x110c]
push esi
push edi
push 0x2b
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xdd]
push 0
push eax
mov byte [esp + 0xe4], 0
call fcn.004bea90
lea eax, [esp + 0xe4]
push eax
lea eax, [ebx + 0x58]
push 0x14
push eax
call fcn.0041fe57
xor eax, eax
mov byte [esp + 0x64], 0
lea edi, [esp + 0x65]
mov byte [esp + 0x48], 0
stosd dword es:[edi], eax
add esp, 0x18
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
test dword [ebx + 8], 0x100
lea edi, [esp + 0x31]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
je 0x42d31d
mov eax, dword [ebx + 0xbc]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xc0]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
push eax
call fcn.0042cf51
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x44]
push 8
push eax
call fcn.0041fe57
mov ecx, dword [ebx + 0x78]
add esp, 0x10
movzx eax, cl
shr ecx, 0x10
push eax
movzx eax, byte [ebx + 0x79]
push eax
push ecx
push 0x2accd03
push 0x9ba104f9
push 0xb5f57025
call fcn.00401c98
add esp, 0xc
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004ba78c
add esp, 0x14
and dword [esp + 0x20], 0
lea edi, [esp + 0x25]
xor eax, eax
mov byte [esp + 0x24], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
call fcn.004bffaa
pop ecx
push dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
inc ecx
push ecx
add eax, 0x76c
push eax
push 0xa3543b11
push 0x3a59f2eb
push 0x140d8621
call fcn.00401c98
add esp, 0xc
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004ba78c
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 8]
and esi, 0x800
or esi, 0x40000
mov byte [esp + 0x9c], 0
and eax, 0x600
shr esi, 3
or esi, eax
lea eax, [esp + 0x9d]
push 0x27
push 0
push eax
shr esi, 7
call fcn.004bea90
push 0x27
lea eax, [esp + 0x85]
mov byte [esp + 0x84], 0
push 0
push eax
call fcn.004bea90
push 0x27
lea eax, [esp + 0xe1]
mov byte [esp + 0xe0], 0
push 0
push eax
call fcn.004bea90
add esp, 0x38
mov edi, 0xff
test dword [ebx + 8], 0x10000
je 0x42d411
mov eax, esi
shr eax, 8
and eax, edi
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [ebx + 0x8c]
push eax
call fcn.0042d0a0
add esp, 0xc
test dword [ebx + 8], 0x20000
je 0x42d433
mov eax, esi
shr eax, 8
and eax, edi
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [ebx + 0x7c]
push eax
call fcn.0042d0a0
add esp, 0xc
test dword [ebx + 8], 0x40000
je 0x42d45b
mov eax, esi
shr eax, 8
and eax, edi
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [ebx + 0x9c]
push eax
call fcn.0042d0a0
add esp, 0xc
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jne 0x42d472
test dword [ebx + 8], 0x100000
jne 0x42d472
mov dword [ebx + 0xc], 0x1c00000
cmp byte [esp + 0x1118], cl
je 0x42d595
cmp dword [ebx + 0xc], ecx
jne 0x42d6da
lea eax, [esp + 0x24]
push eax
push esi
push dword [ebx + 0x40]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x40]
push eax
push dword [ebx + 0x74]
movzx eax, byte [ebx + 0x3f]
push eax
push ecx
push 0xdb1e0d91
push 0x4213c45b
push 0x6c47b063
call fcn.00401c98
add esp, 0xc
push eax
lea eax, [esp + 0x128]
push eax
call fcn.004ba78c
lea edi, [esp + 0x12c]
add esp, 0x28
add edi, eax
test byte [ebx + 0xa], 1
je 0x42d506
lea eax, [esp + 0x88]
push eax
push 0x51d1e82
push 0x9c10d77f
push 0xb244a319
call fcn.00401c98
add esp, 0xc
push eax
push edi
call fcn.004ba78c
add esp, 0xc
add edi, eax
test dword [ebx + 8], 0x20000
je 0x42d537
lea eax, [esp + 0x60]
push eax
push 0xec1bf01c
push 0x751639e1
push 0x5b424d8d
call fcn.00401c98
add esp, 0xc
push eax
push edi
call fcn.004ba78c
add esp, 0xc
add edi, eax
test dword [ebx + 8], 0x40000
je 0x42d56b
lea eax, [esp + 0xb0]
push eax
push 0xe8d643ba
push 0x71db8a47
push 0x5f8ffe15
call fcn.00401c98
add esp, 0xc
push eax
push edi
call fcn.004ba78c
add esp, 0xc
add edi, eax
push 0xeae5d6f5
push 0x73e81f05
push 0x5dbc6b5d
call fcn.00401c98
mov edx, edi
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42d586
add edi, 4
jmp 0x42d608
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x30]
push eax
push esi
push dword [ebx + 0x40]
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x4c]
push eax
push dword [ebx + 0x74]
lea eax, [ebx + 0x140]
push eax
movzx eax, byte [ebx + 0x3f]
push eax
push dword [ebx + 0xc]
lea eax, [esp + 0x108]
push eax
push 0xb913a528
push 0x201e6cad
push 0xe4a18ed
call fcn.00401c98
add esp, 0xc
push eax
lea eax, [esp + 0x13c]
push eax
call fcn.004ba78c
lea edi, [esp + 0x140]
add esp, 0x3c
add edi, eax
cmp dword [ebp + 0x70], 2
je 0x42d657
xor eax, eax
xor ebx, ebx
cmp ax, word [ebp + 0x1ec]
jae 0x42d657
shr esi, 8
and esi, 0xff
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0x1d8]
push esi
add eax, ecx
push edi
push eax
call fcn.0042d0a0
mov ecx, dword [esp + 0x20]
add esp, 0xc
movzx eax, word [ebp + 0x1ec]
add edi, 0x20
inc ebx
add ecx, 0x10
mov dword [esp + 0x14], ecx
cmp ebx, eax
jb 0x42d62a
cmp byte [esp + 0x1118], 0
mov byte [edi], 0x27
je 0x42d696
lea eax, [esp + 0xd8]
mov byte [edi + 1], 0x20
push eax
push 0x54f7f57a
push 0xcdfa3c82
push 0xe3ae495c
call fcn.00401c98
add esp, 0xc
push eax
lea eax, [edi + 2]
push eax
call fcn.004ba78c
add esp, 0xc
jmp 0x42d69c
mov word [edi + 1], 0x29
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0
push 0
lea eax, [esp + 0x110]
push eax
push dword [esp + 0x28]
call fcn.004789b0
add esp, 0x14
test eax, eax
je 0x42d6da
cmp dword [esp + 0x10], 0
je 0x42d6da
push dword [esp + 0x10]
push 3
push dword [ebp + 0x60]
call fcn.0041ffc2
add esp, 0xc
mov ecx, dword [esp + 0x1104]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x10f8
ret