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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x5c
mov ebx, ecx
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x54], eax
lea eax, [edx + edx]
add eax, eax
lea edx, [eax + eax]
add edx, eax
push edx
push 0
push dword [ebx + 0x1984]
call fcn.0046e690
add esp, 0xc
movzx ebp, byte [ebx + 0x12]
test ebp, ebp
mov edx, 0
sete dl
movzx esi, byte [ebx + 0x22]
test esi, esi
mov eax, 0
movzx esi, word [ebx + 0x24]
movzx ebp, word [ebx + 0x26]
sete al
cmp edx, eax
mov eax, 0
setne al
movzx ecx, word [ebx + 0x28]
movzx edx, byte [ebx + 0x2a]
mov dword [esp + 0x58], eax
movzx edi, byte [ebx + 0x2b]
movzx eax, byte [ebx + 0x2c]
mov dword [esp + 0x50], edi
xor edi, edi
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x78]
test edi, edi
jle 0x42b07e
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0xc], esi
xor esi, esi
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x18], eax
xor edi, edi
inc ebp
mov dword [esp + 0x24], eax
test edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x1984]
jle 0x42b072
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 0x54]
jmp 0x42aed8
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov ebx, dword [ebp]
mov edx, dword [esp + 0x58]
test edx, edx
je 0x42af0d
mov edx, ebx
and edx, 0xff000000
shr edx, 0x18
mov edi, ebx
and edi, 0xff0000
shr edi, 8
or edx, edi
mov edi, ebx
and edi, 0xff00
shl edi, 8
or edx, edi
shl ebx, 0x18
or ebx, edx
mov dword [esp + 0x30], esi
mov esi, ebx
mov dword [esp + 0x3c], ecx
mov edx, dword [eax]
mov ecx, dword [esp]
mov dword [esp + 0x18], edx
shr esi, cl
and esi, dword [esp + 0xc]
mov dword [esp + 0x24], esi
mov dword [eax], esi
mov edx, dword [esp + 0x3c]
add eax, 4
add edx, dword [esp + 0x18]
sub edx, dword [esp + 0x30]
test edx, edx
jl 0x42af4b
mov ecx, dword [esp + 0xc]
cmp ecx, edx
jge 0x42af49
mov edx, ecx
jmp 0x42af51
xor edx, edx
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
sub esi, edx
and esi, ecx
mov ecx, dword [esp]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
shl esi, cl
mov ecx, dword [esp + 4]
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], edi
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
mov edx, ebx
shr edx, cl
and edx, dword [esp + 0x10]
mov dword [esp + 0x28], edx
mov dword [eax], edx
mov ecx, dword [esp + 0x40]
add ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x34]
test ecx, ecx
jl 0x42afa2
mov edi, dword [esp + 0x10]
cmp edi, ecx
jge 0x42afa0
mov ecx, edi
jmp 0x42afa8
xor ecx, ecx
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
sub edx, ecx
and edx, edi
mov ecx, dword [esp + 4]
mov edi, dword [esp + 0x20]
shl edx, cl
or esi, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
shr ebx, cl
and ebx, dword [esp + 0x14]
mov dword [esp + 0x2c], ebx
mov dword [eax + 4], ebx
mov edx, dword [esp + 0x44]
add eax, 8
add edx, dword [esp + 0x20]
sub edx, dword [esp + 0x38]
test edx, edx
jl 0x42afff
mov ecx, dword [esp + 0x14]
cmp ecx, edx
jge 0x42affd
mov edx, ecx
jmp 0x42b005
xor edx, edx
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
sub edi, edx
and edi, ecx
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x58]
shl edi, cl
or esi, edi
test edx, edx
je 0x42b047
mov ebx, esi
and ebx, 0xff000000
shr ebx, 0x18
mov edx, esi
and edx, 0xff0000
shr edx, 8
or ebx, edx
mov ecx, esi
and ecx, 0xff00
shl ecx, 8
or ebx, ecx
shl esi, 0x18
or esi, ebx
mov dword [ebp], esi
mov edx, dword [esp + 0x50]
inc edx
mov dword [esp + 0x50], edx
add ebp, 4
mov ecx, dword [esp + 0x74]
cmp edx, ecx
jl 0x42aed0
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x4c]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x78]
cmp ebp, eax
jl 0x42ae8f
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret 0xc