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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x5c
mov ebx, ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x74]
lea edx, [edx + edx]
add edx, edx
lea ebp, [edx + edx]
add ebp, edx
push ebp
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 edx, 0
setne dl
movzx ecx, word [ebx + 0x28]
movzx edi, byte [ebx + 0x2b]
mov dword [esp + 0x58], edx
movzx edx, byte [ebx + 0x2a]
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 0x42add9
mov dword [esp + 8], eax
mov edi, dword [esp + 0x50]
mov eax, ebx
mov dword [esp + 4], edi
mov dword [esp], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], esi
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x74]
xor edi, edi
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x18], edx
xor ebx, ebx
inc ebp
mov dword [esp + 0x24], edx
test esi, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0x1984]
jle 0x42adcd
mov dword [esp + 0x4c], ebp
mov esi, dword [esp + 0x54]
mov dword [esp + 0x48], eax
jmp 0x42ac62
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
movzx ebp, word [esi]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x42ac7a
mov eax, ebp
shl eax, 8
sar ebp, 8
or eax, ebp
movzx ebp, ax
mov dword [esp + 0x30], edi
mov edi, ebp
mov dword [esp + 0x3c], ecx
mov eax, dword [edx]
mov ecx, dword [esp]
mov dword [esp + 0x18], eax
sar edi, cl
and edi, dword [esp + 0xc]
mov dword [esp + 0x24], edi
mov dword [edx], edi
mov eax, dword [esp + 0x3c]
add edx, 4
add eax, dword [esp + 0x18]
sub eax, dword [esp + 0x30]
test eax, eax
jl 0x42acb8
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jge 0x42acb6
mov eax, ecx
jmp 0x42acbe
xor eax, eax
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x24]
sub edi, eax
and edi, ecx
mov ecx, dword [esp]
mov eax, dword [esp + 0x1c]
shl edi, cl
or edi, 0xffff0000
mov ecx, dword [esp + 4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
mov eax, ebp
sar eax, cl
and eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov dword [edx], eax
mov ecx, dword [esp + 0x40]
add ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x34]
test ecx, ecx
jl 0x42ad19
mov eax, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x50], eax
jge 0x42ad17
mov ecx, eax
jmp 0x42ad23
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
sub eax, ecx
mov ecx, dword [esp + 4]
and eax, dword [esp + 0x50]
shl eax, cl
or edi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x20], eax
sar ebp, cl
and ebp, dword [esp + 0x14]
mov dword [esp + 0x2c], ebp
mov dword [edx + 4], ebp
mov eax, dword [esp + 0x44]
add edx, 8
add eax, dword [esp + 0x20]
sub eax, dword [esp + 0x38]
test eax, eax
jl 0x42ad7c
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jge 0x42ad7a
mov eax, ecx
jmp 0x42ad82
xor eax, eax
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
sub ebp, eax
and ebp, ecx
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x58]
shl ebp, cl
or edi, ebp
movzx ecx, di
test eax, eax
je 0x42adaa
mov eax, ecx
shl eax, 8
sar ecx, 8
or eax, ecx
movzx ecx, ax
mov word [esi], cx
inc ebx
add esi, 2
mov eax, dword [esp + 0x74]
cmp ebx, eax
jl 0x42ac5a
mov dword [esp + 0x54], esi
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x78]
cmp ebp, edx
jl 0x42ac1d
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret 0xc