Function at 0x42de00
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 [0x4b00b4]
push edi
mov edi, dword [0x4b00bc]
mov word [ebp - 6], dx
mov word [ebp - 4], cx
mov dword [ebp - 0x14], edi
cmp dx, word [esi + 0x194]
jb 0x42de3f
xor edx, edx
jmp 0x42de55
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 0x42de80
movzx eax, ax
sub eax, 0x20
imul ecx, eax, 0x92
mov eax, dword [edi + 0x1d4]
cmp dword [ecx + eax], 0
je 0x42e41c
mov esi, dword [0x4b00b8]
mov ax, word [ebp - 4]
movzx ecx, ax
cmp ax, word [esi + 0x48]
jb 0x42de97
xor eax, eax
jmp 0x42dea7
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 0x42e41c
mov eax, dword [ebp - 0x18]
movzx eax, ax
mov ecx, eax
cmp eax, 0x20
jae 0x42df03
mov eax, dword [ecx*4 + 0x49c660]
test eax, eax
je 0x42e41c
push esi
call eax
add esp, 4
jmp 0x42df2b
mov eax, dword [edi + 0x1d4]
imul ecx, ecx, 0x92
mov ecx, dword [ecx + eax - 0x1218]
test ecx, ecx
je 0x42e41c
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 0x42e41c
push 1
push eax
call fcn.00473fa9
mov esi, eax
add esp, 8
test esi, esi
je 0x42e41c
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 0x42df70
cmp dword [ecx], 0
je 0x42df73
add ecx, 8
cmp dword [ecx], 0
jne 0x42df66
jmp 0x42df73
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 0x42df96
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 0x42dfc3
mov word [edi + 0x14c], cx
mov eax, ecx
jmp 0x42dfc6
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 [0x4b00bc]
mov dword [esi + 8], eax
mov edx, dword [0x4b00bc]
mov edi, dword [edx + 0x58]
cmp word [edi], cx
je 0x42e00b
nop dword [eax + eax]
add edi, 0x92
cmp word [edi], cx
jne 0x42e000
movzx eax, word [edi + 6]
test ax, ax
jns 0x42e04c
mov ax, word [esi]
mov ecx, edi
mov word [edi + 6], ax
mov eax, dword [0x4b00bc]
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 0x42e075
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 [0x4b00bc]
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 0x42e0a5
mov word [esi + 0x10], ax
jmp 0x42e0af
cmp ax, 0xffff
jne 0x42e0af
mov word [edi + 0x44], cx
inc dword [edi + 0x10]
mov ecx, dword [esi + 0x78]
mov dword [esi + 0xc], esi
test ecx, 0x8000
jne 0x42e0ff
movzx edx, word [esi + 0x94]
and ecx, 0xffffbfff
mov dword [esi + 0x78], ecx
mov edi, ecx
test edx, 0x200
je 0x42e0ee
mov eax, dword [0x4b00b8]
test byte [eax + 0xc], 0x20
je 0x42e0ee
or ecx, 0x4000
mov dword [esi + 0x78], ecx
test edx, 0x500
je 0x42e0ff
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 0x42e122
mov eax, dword [edx*4 + 0x49c5e8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx*4 + 0x49c5c0]
jmp 0x42e153
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 0x42e14c
mov eax, fcn.00459770
jmp 0x42e153
mov eax, dword [eax + edx - 0x1234]
test cl, 2
mov ecx, 0x42e990
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.0042db20
test byte [edi + 0x28], 0x20
je 0x42e193
movsx ecx, word [esi + 0x12]
call fcn.00436c30
mov ecx, eax
call fcn.00437a20
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x44], edx
cmp eax, 0x80000000
jne 0x42e1a9
mov eax, dword [ecx + 4]
mov dword [ebp - 0x34], eax
mov dword [esi + 0x4c], eax
mov eax, dword [ebx + 0xc]
cmp eax, 0x80000000
jne 0x42e1bc
mov eax, dword [ecx + 8]
mov dword [ebp - 0x30], eax
mov dword [esi + 0x54], eax
mov eax, dword [ebx + 0x18]
test ecx, ecx
je 0x42e1d2
cmp eax, 0xffffffff
jne 0x42e1d2
movzx eax, word [ecx + 0x10]
mov dword [ebp - 0x28], eax
lea ecx, [eax + eax*2]
mov dword [esi + 0x84], eax
mov eax, dword [0x4b00b8]
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 0x42e252
mov eax, 0x130
mov dword [esi + 0xc0], fcn.0040d5e0
mov dword [ebp - 8], eax
mov dword [esi + 0xc4], 0x434560
mov dword [esi + 0xe0], 0x3f800000
mov dword [esi + 0xe4], 0x3f800000
mov dword [esi + 0xcc], 0xffffffff
test cl, 0x10
je 0x42e279
add eax, 0x9e
test byte [ebp - 0x36], 1
mov dword [ebp - 8], eax
jne 0x42e279
lea eax, [ebp - 0x3c]
xor ecx, ecx
push eax
push edx
mov edx, esi
call fcn.0042fa20
mov ecx, dword [esi + 0x78]
add esp, 8
test cl, 0x20
je 0x42e340
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.00434650
call fcn.004345b0
mov edx, dword [esi + 0x44]
movzx eax, word [edx + 6]
cmp word [eax + edx + 0xa], 0
jl 0x42e2ca
mov eax, dword [esi + 0xb8]
mov dword [esi + 0xc4], 0x4341d0
mov dword [esi + eax], 4
jmp 0x42e319
movzx edi, word [edx + 6]
xor ecx, ecx
xor eax, eax
lea eax, [edi + eax*2]
cmp word [eax + edx + 4], 0
jge 0x42e2e9
mov eax, dword [ecx*4 + 0x49ca44]
inc ecx
test eax, eax
jns 0x42e2d2
cmp dword [ecx*4 + 0x49ca40], 0
mov edi, dword [ebp - 0x14]
jge 0x42e340
movzx eax, word [edx + 6]
cmp word [eax + edx + 0xc], 0
jl 0x42e340
mov eax, dword [esi + 0xb8]
mov dword [esi + 0xc4], 0x434360
mov dword [esi + eax], 5
xor edx, edx
mov ecx, esi
call fcn.004346c0
mov eax, dword [esi + 0xb8]
cmp dword [eax + esi + 0x3c], 0
jne 0x42e337
mov dword [eax + esi + 0x3c], 1
push esi
call fcn.00434650
add esp, 4
mov eax, dword [esi + 0x78]
test eax, 0x200
je 0x42e36a
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.00401950
mov eax, dword [esi + 0x78]
add esp, 4
test eax, 0x100
je 0x42e388
mov eax, dword [ebp - 8]
mov dword [esi + 0x80], eax
test eax, eax
je 0x42e388
mov edx, dword [ebp - 0xc]
mov ecx, esi
call fcn.00402570
movzx eax, word [esi + 0x18]
movsx ecx, ax
cmp ax, 0x20
jge 0x42e3dc
mov eax, dword [ecx*4 + 0x49c638]
test eax, eax
je 0x42e3b2
lea ecx, [ebp - 0x3c]
push ecx
push dword [ebp - 0xc]
push esi
call eax
add esp, 0xc
test ax, ax
jne 0x42e408
mov eax, dword [esi + 0x78]
test al, 0x40
je 0x42e3c2
inc dword [edi + 0x518]
mov eax, dword [esi + 0x78]
test eax, 0x200
je 0x42e3d0
mov ecx, esi
call fcn.00401ae0
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 0x42e3b2
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 0x42e3b2
dec word [edi + 0x4bc]
mov edx, 1
movsx ecx, word [esi]
call fcn.0042e430
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret