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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, dword [0x4b00c4]
push edi
mov edi, dword [0x4b00cc]
mov word [ebp - 6], dx
mov word [ebp - 4], cx
mov dword [ebp - 0x14], edi
cmp dx, word [esi + 0x194]
jb 0x42dd0f
xor edx, edx
jmp 0x42dd25
mov eax, dword [esi + 0x198]
movzx ecx, dx
movzx eax, word [eax + ecx*2]
imul edx, eax, 0x2c
add edx, dword [esi + 0x400]
movzx eax, word [edx + 2]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
cmp eax, 0x20
jb 0x42dd50
movzx eax, ax
sub eax, 0x20
imul ecx, eax, 0x92
mov eax, dword [edi + 0x1d4]
cmp dword [ecx + eax], 0
je 0x42e2ec
mov esi, dword [0x4b00c8]
mov ax, word [ebp - 4]
movzx ecx, ax
cmp ax, word [esi + 0x48]
jb 0x42dd67
xor eax, eax
jmp 0x42dd77
mov eax, dword [esi + 0x4c]
movzx eax, word [eax + ecx*2]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x50]
lea eax, [eax + ecx*4]
mov esi, dword [edx + 0x14]
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], esi
mov al, byte [esi + 0x2a]
and al, 8
mov byte [ebp - 1], al
mov eax, ecx
or eax, 2
cmp byte [ebp - 1], 0
movzx edx, ax
movzx eax, cx
cmovne edx, eax
movzx eax, dx
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jge 0x42e2ec
mov eax, dword [ebp - 0x18]
movzx eax, ax
mov ecx, eax
cmp eax, 0x20
jae 0x42ddd3
mov eax, dword [ecx*4 + 0x49c660]
test eax, eax
je 0x42e2ec
push esi
call eax
add esp, 4
jmp 0x42ddfb
mov eax, dword [edi + 0x1d4]
imul ecx, ecx, 0x92
mov ecx, dword [ecx + eax - 0x1218]
test ecx, ecx
je 0x42e2ec
movzx eax, word [esi + 0x24]
add eax, esi
push eax
push edi
call ecx
movzx eax, ax
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42e2ec
push 1
push eax
call fcn.00474169
mov esi, eax
add esp, 8
test esi, esi
je 0x42e2ec
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
inc dword [edi + 0x3c]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [edi + 0x1278]
test eax, eax
jns 0x42de40
cmp dword [ecx], 0
je 0x42de43
add ecx, 8
cmp dword [ecx], 0
jne 0x42de36
jmp 0x42de43
lea ecx, [ecx + eax*8]
mov edx, dword [ebp - 0xc]
mov dword [ecx], esi
mov eax, dword [edx + 0x2e]
mov dword [esi + 0xb4], eax
mov eax, dword [edx + 0x10]
mov dword [esi + 0x78], eax
cmp ecx, dword [edi + 0x4b8]
jbe 0x42de66
inc word [edi + 0x4bc]
sub ecx, dword [edi + 0x1278]
sar ecx, 3
mov word [esi], cx
mov ecx, 1
add word [edi + 0x14c], 1
mov ax, word [edi + 0x14c]
jne 0x42de93
mov word [edi + 0x14c], cx
mov eax, ecx
jmp 0x42de96
movzx eax, ax
mov cx, word [ebp - 6]
mov word [esi + 0x1a], ax
mov ax, word [ebp - 4]
mov word [esi + 0x10], ax
mov eax, dword [ebp - 0x1c]
mov word [esi + 0x12], cx
movzx eax, word [eax + 2]
mov word [esi + 0x18], ax
mov eax, dword [0x4b00cc]
mov dword [esi + 8], eax
mov edx, dword [0x4b00cc]
mov edi, dword [edx + 0x58]
cmp word [edi], cx
je 0x42dedb
nop dword [eax + eax]
add edi, 0x92
cmp word [edi], cx
jne 0x42ded0
movzx eax, word [edi + 6]
test ax, ax
jns 0x42df1c
mov ax, word [esi]
mov ecx, edi
mov word [edi + 6], ax
mov eax, dword [0x4b00cc]
sub ecx, dword [eax + 0x58]
mov eax, 0xe070381d
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
or eax, 0xffff8000
mov word [esi + 0x14], ax
mov eax, 0xffff8000
mov word [esi + 0x16], ax
jmp 0x42df45
movsx ecx, ax
mov eax, dword [edx + 0x1278]
mov ecx, dword [eax + ecx*8]
movzx eax, word [ecx + 0x14]
mov word [esi + 0x14], ax
movzx eax, word [esi]
mov word [ecx + 0x14], ax
movzx eax, word [ecx]
mov word [esi + 0x16], ax
movzx eax, word [esi]
mov word [edi + 6], ax
mov eax, dword [0x4b00cc]
mov ecx, dword [edi + 8]
add ecx, dword [eax + 0x5c]
mov dword [esi + 0x20], ecx
movzx ecx, word [esi + 0x10]
mov dword [esi + 0x1c], edi
mov ax, word [edi + 0x34]
mov word [esi + 0x94], ax
movzx eax, word [edi + 0x44]
cmp cx, 0xffff
jne 0x42df75
mov word [esi + 0x10], ax
jmp 0x42df7f
cmp ax, 0xffff
jne 0x42df7f
mov word [edi + 0x44], cx
inc dword [edi + 0x10]
mov ecx, dword [esi + 0x78]
mov dword [esi + 0xc], esi
test ecx, 0x8000
jne 0x42dfcf
movzx edx, word [esi + 0x94]
and ecx, 0xffffbfff
mov dword [esi + 0x78], ecx
mov edi, ecx
test edx, 0x200
je 0x42dfbe
mov eax, dword [0x4b00c8]
test byte [eax + 0xc], 0x20
je 0x42dfbe
or ecx, 0x4000
mov dword [esi + 0x78], ecx
test edx, 0x500
je 0x42dfcf
or ecx, 0x4000
mov dword [esi + 0x78], ecx
movzx eax, word [esi + 0x18]
mov edi, dword [ebp - 0x14]
movsx edx, ax
cmp ax, 0x20
jge 0x42dff2
mov eax, dword [edx*4 + 0x49c5e8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx*4 + 0x49c5c0]
jmp 0x42e023
imul eax, edx, 0x92
mov edx, dword [edi + 0x1d4]
cmp dword [eax + edx - 0x1230], 0
mov edi, dword [eax + edx - 0x1238]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x14]
je 0x42e01c
mov eax, fcn.00459930
jmp 0x42e023
mov eax, dword [eax + edx - 0x1234]
test cl, 2
mov ecx, 0x42e860
push 0
cmovne eax, ecx
mov ecx, dword [ebp - 0x1c]
push 0
push esi
mov dword [esi + 0x88], ecx
mov dword [esi + 0x90], eax
mov dword [esi + 0x8c], eax
call fcn.0042da30
test byte [edi + 0x28], 0x20
je 0x42e063
movsx ecx, word [esi + 0x12]
call fcn.00436da0
mov ecx, eax
call fcn.00437ba0
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x44], edx
cmp eax, 0x80000000
jne 0x42e079
mov eax, dword [ecx + 4]
mov dword [ebp - 0x34], eax
mov dword [esi + 0x4c], eax
mov eax, dword [ebx + 0xc]
cmp eax, 0x80000000
jne 0x42e08c
mov eax, dword [ecx + 8]
mov dword [ebp - 0x30], eax
mov dword [esi + 0x54], eax
mov eax, dword [ebx + 0x18]
test ecx, ecx
je 0x42e0a2
cmp eax, 0xffffffff
jne 0x42e0a2
movzx eax, word [ecx + 0x10]
mov dword [ebp - 0x28], eax
lea ecx, [eax + eax*2]
mov dword [esi + 0x84], eax
mov eax, dword [0x4b00c8]
shl ecx, 5
add ecx, dword [eax + 0x30]
inc dword [ecx + 0x28]
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov word [ebp - 0x36], ax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
mov eax, 0xb8
mov ecx, dword [esi + 0x78]
mov dword [ebp - 8], eax
test ecx, 0x230
je 0x42e122
mov eax, 0x130
mov dword [esi + 0xc0], fcn.0040d440
mov dword [ebp - 8], eax
mov dword [esi + 0xc4], 0x4344a0
mov dword [esi + 0xe0], 0x3f800000
mov dword [esi + 0xe4], 0x3f800000
mov dword [esi + 0xcc], 0xffffffff
test cl, 0x10
je 0x42e149
add eax, 0x9e
test byte [ebp - 0x36], 1
mov dword [ebp - 8], eax
jne 0x42e149
lea eax, [ebp - 0x3c]
xor ecx, ecx
push eax
push edx
mov edx, esi
call fcn.0042f960
mov ecx, dword [esi + 0x78]
add esp, 8
test cl, 0x20
je 0x42e210
mov eax, dword [ebp - 8]
mov ecx, esi
mov dword [esi + 0xb8], eax
add eax, 0x50
mov dword [ebp - 8], eax
mov dword [esi + 0xc4], fcn.00434590
call fcn.004344f0
mov edx, dword [esi + 0x44]
movzx eax, word [edx + 6]
cmp word [eax + edx + 0xa], 0
jl 0x42e19a
mov eax, dword [esi + 0xb8]
mov dword [esi + 0xc4], 0x434110
mov dword [esi + eax], 4
jmp 0x42e1e9
movzx edi, word [edx + 6]
xor ecx, ecx
xor eax, eax
lea eax, [edi + eax*2]
cmp word [eax + edx + 4], 0
jge 0x42e1b9
mov eax, dword [ecx*4 + 0x49ca44]
inc ecx
test eax, eax
jns 0x42e1a2
cmp dword [ecx*4 + 0x49ca40], 0
mov edi, dword [ebp - 0x14]
jge 0x42e210
movzx eax, word [edx + 6]
cmp word [eax + edx + 0xc], 0
jl 0x42e210
mov eax, dword [esi + 0xb8]
mov dword [esi + 0xc4], 0x4342a0
mov dword [esi + eax], 5
xor edx, edx
mov ecx, esi
call fcn.00434600
mov eax, dword [esi + 0xb8]
cmp dword [eax + esi + 0x3c], 0
jne 0x42e207
mov dword [eax + esi + 0x3c], 1
push esi
call fcn.00434590
add esp, 4
mov eax, dword [esi + 0x78]
test eax, 0x200
je 0x42e23a
mov eax, dword [ebp - 8]
mov ecx, esi
mov dword [esi + 0xbc], eax
add eax, 0x24
mov dword [ebp - 8], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00401970
mov eax, dword [esi + 0x78]
add esp, 4
test eax, 0x100
je 0x42e258
mov eax, dword [ebp - 8]
mov dword [esi + 0x80], eax
test eax, eax
je 0x42e258
mov edx, dword [ebp - 0xc]
mov ecx, esi
call fcn.00402590
movzx eax, word [esi + 0x18]
movsx ecx, ax
cmp ax, 0x20
jge 0x42e2ac
mov eax, dword [ecx*4 + 0x49c638]
test eax, eax
je 0x42e282
lea ecx, [ebp - 0x3c]
push ecx
push dword [ebp - 0xc]
push esi
call eax
add esp, 0xc
test ax, ax
jne 0x42e2d8
mov eax, dword [esi + 0x78]
test al, 0x40
je 0x42e292
inc dword [edi + 0x518]
mov eax, dword [esi + 0x78]
test eax, 0x200
je 0x42e2a0
mov ecx, esi
call fcn.00401b00
movsx eax, word [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ecx - 0x20]
imul ecx, eax, 0x92
mov eax, dword [edi + 0x1d4]
mov edx, dword [ecx + eax]
test edx, edx
je 0x42e282
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + 0x24]
add eax, ecx
lea ecx, [ebp - 0x3c]
push ecx
push eax
push esi
call edx
test ax, ax
je 0x42e282
dec word [edi + 0x4bc]
mov edx, 1
movsx ecx, word [esi]
call fcn.0042e300
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret