Function at 0x42f770
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
push 0xffffffffffffffff
push 0x497af8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
push esi
push edi
mov eax, dword [0x4b1ca0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov di, dx
mov word [ebp - 0x16], cx
mov eax, dword [0x4b4b9c]
mov edx, dword [0x4b4b94]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
cmp di, word [edx + 0x194]
jb 0x42f7d3
xor esi, esi
jmp 0x42f7e9
mov eax, dword [edx + 0x198]
movzx ecx, di
movzx eax, word [eax + ecx*2]
imul esi, eax, 0x2c
add esi, dword [edx + 0x400]
movzx eax, word [esi + 2]
cmp eax, 0x20
jb 0x42f80e
mov edx, dword [ebp - 0x1c]
sub eax, 0x20
imul ecx, eax, 0x92
mov eax, dword [edx + 0x1d4]
cmp dword [ecx + eax], 0
je 0x42fffc
mov edx, dword [0x4b4b98]
mov ax, word [ebp - 0x16]
movzx ecx, ax
cmp ax, word [edx + 0x48]
jb 0x42f825
xor eax, eax
jmp 0x42f835
mov eax, dword [edx + 0x4c]
movzx eax, word [eax + ecx*2]
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x50]
lea eax, [eax + ecx*4]
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x20], eax
mov al, byte [eax + 0x2a]
and al, 8
mov byte [ebp - 0x11], al
mov eax, ecx
or eax, 2
cmp byte [ebp - 0x11], 0
movzx edx, ax
movzx eax, cx
cmovne edx, eax
movzx eax, dx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [edx + 0x3c]
cmp eax, dword [edx + 0x40]
jge 0x42fffc
movzx eax, word [esi + 2]
cmp eax, 0x20
jae 0x42f892
mov eax, dword [eax*4 + 0x4a1aa0]
test eax, eax
je 0x42fffc
push dword [ebp - 0x20]
call eax
add esp, 4
jmp 0x42f8be
mov ecx, dword [edx + 0x1d4]
imul eax, eax, 0x92
mov ecx, dword [eax + ecx - 0x1218]
test ecx, ecx
je 0x42fffc
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x24]
add eax, dword [ebp - 0x20]
push eax
push edx
call ecx
movzx eax, ax
mov dword [ebp - 0x30], eax
test eax, eax
je 0x42fffc
push 1
push eax
call fcn.00478e79
mov edx, eax
add esp, 8
mov dword [ebp - 0x24], edx
test edx, edx
je 0x42fffc
mov eax, dword [ebp - 0x30]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x1c]
inc dword [eax + 0x3c]
mov ecx, dword [eax + 0x1278]
mov eax, dword [ebx + 0x1c]
test eax, eax
jns 0x42f90a
cmp dword [ecx], 0
je 0x42f90d
nop
add ecx, 8
cmp dword [ecx], 0
jne 0x42f900
jmp 0x42f90d
lea ecx, [ecx + eax*8]
mov eax, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [eax + 0x2e]
mov dword [edx + 0xb4], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
mov dword [edx + 0x78], eax
mov eax, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x4b8]
jbe 0x42f936
inc word [eax + 0x4bc]
sub ecx, dword [eax + 0x1278]
sar ecx, 3
mov word [edx], cx
mov ecx, 1
add word [eax + 0x14c], 1
mov ax, word [eax + 0x14c]
jne 0x42f966
mov eax, dword [ebp - 0x1c]
mov word [eax + 0x14c], cx
mov eax, ecx
jmp 0x42f969
movzx eax, ax
mov cx, word [ebp - 0x16]
mov word [edx + 0x1a], ax
mov word [edx + 0x12], di
mov word [edx + 0x10], cx
mov ax, word [esi + 2]
mov word [edx + 0x18], ax
mov eax, dword [0x4b4b9c]
mov dword [edx + 8], eax
mov edx, dword [0x4b4b9c]
mov esi, dword [edx + 0x58]
cmp word [esi], di
je 0x42f9ab
nop word [eax + eax]
add esi, 0x92
cmp word [esi], di
jne 0x42f9a0
movzx eax, word [esi + 6]
mov edi, dword [ebp - 0x24]
test ax, ax
jns 0x42f9ef
mov ax, word [edi]
mov ecx, esi
mov word [esi + 6], ax
mov eax, dword [0x4b4b9c]
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 [edi + 0x14], ax
mov eax, 0xffff8000
mov word [edi + 0x16], ax
jmp 0x42fa18
movsx ecx, ax
mov eax, dword [edx + 0x1278]
mov ecx, dword [eax + ecx*8]
movzx eax, word [ecx + 0x14]
mov word [edi + 0x14], ax
movzx eax, word [edi]
mov word [ecx + 0x14], ax
movzx eax, word [ecx]
mov word [edi + 0x16], ax
movzx eax, word [edi]
mov word [esi + 6], ax
mov eax, dword [0x4b4b9c]
mov ecx, dword [esi + 8]
add ecx, dword [eax + 0x5c]
mov dword [edi + 0x20], ecx
mov dword [edi + 0x1c], esi
mov ax, word [esi + 0x34]
mov word [edi + 0x94], ax
movzx eax, word [edi + 0x10]
cmp ax, 0xffff
jne 0x42fa48
mov ax, word [esi + 0x44]
mov word [edi + 0x10], ax
jmp 0x42fa53
cmp word [esi + 0x44], 0xffff
jne 0x42fa53
mov word [esi + 0x44], ax
inc dword [esi + 0x10]
mov eax, 0xffff
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0xc], edi
movzx edi, word [ecx + 0xe]
cmp di, ax
je 0x42fcd2
mov esi, dword [ebp - 0x28]
mov esi, dword [esi + 0x47c]
test esi, esi
je 0x42fcd2
mov eax, dword [ebp - 0x1c]
add edi, esi
mov esi, 0xffff
sub ecx, dword [eax + 0x58]
mov eax, 0xc0e07039
mul ecx
movzx eax, word [edi]
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 7
movzx edx, cx
mov dword [ebp - 0x30], edx
cmp ax, si
je 0x42fcd2
mov ecx, eax
mov eax, dword [ebp - 0x28]
add edi, 2
movzx ecx, cx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x3c], edi
mov eax, dword [eax + 0x484]
add eax, 0x16
add eax, ecx
cmp word [eax], 0
jl 0x42fae3
cmp word [eax + 2], dx
je 0x42fcc4
add eax, 4
cmp word [eax], 0
jge 0x42fad0
xor ecx, ecx
xor esi, esi
xor edi, edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], edi
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], edi
mov eax, dword [eax + 0x488]
cmp word [eax + edx + 0x16], di
jl 0x42fc2e
lea ecx, [edx + 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
nop word [eax + eax]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x484]
add eax, edx
xor dl, dl
add eax, 0x16
mov dword [ebp - 0x38], eax
cmp word [eax], 0
jl 0x42fbb5
nop dword [eax]
mov ax, word [eax + 2]
cmp ax, word [ecx]
jne 0x42fba2
movzx eax, word [ecx - 2]
mov dword [ebp - 0x40], eax
cmp edi, esi
je 0x42fb5f
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x42fb75
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00431320
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx]
mov dword [ebp - 0x40], eax
cmp edi, esi
je 0x42fb8a
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x42fba0
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00431320
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [ebp - 0x38]
add eax, 4
mov dword [ebp - 0x38], eax
cmp word [eax], 0
jge 0x42fb40
test dl, dl
jne 0x42fc14
mov eax, dword [ebp - 0x30]
cmp word [ecx], ax
jne 0x42fc14
movzx eax, word [ecx - 2]
mov dword [ebp - 0x40], eax
cmp edi, esi
je 0x42fbd3
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x42fbe9
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00431320
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx]
mov dword [ebp - 0x40], eax
cmp edi, esi
je 0x42fbfe
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x4c], esi
jmp 0x42fc14
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00431320
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
add ecx, 4
mov dword [ebp - 0x18], ecx
cmp word [ecx - 2], 0
jge 0x42fb20
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x28]
sub esi, ecx
mov edx, dword [eax + 0x484]
add edx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], edx
cmp esi, 2
jb 0x42fc5f
sar esi, 1
lea eax, [esi + esi]
push eax
push ecx
lea eax, [edx + 0x16]
push eax
call fcn.00476b90
mov ecx, dword [ebp - 0x38]
add esp, 0xc
mov edx, dword [ebp - 0x40]
jmp 0x42fc61
sar esi, 1
mov dword [edx + esi*2 + 0x16], 0xffffffff
lea eax, [edx + esi*2]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x42fcb9
sub edi, ecx
mov eax, ecx
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x42fc9a
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43004b
push edi
push ecx
call fcn.00475679
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov edi, dword [ebp - 0x3c]
mov esi, 0xffff
mov edx, dword [ebp - 0x30]
movzx eax, word [edi]
mov ecx, eax
cmp ax, si
jne 0x42fab0
mov edi, dword [ebp - 0x24]
mov ecx, dword [edi + 0x78]
test ecx, 0x8000
jne 0x42fd1f
movzx edx, word [edi + 0x94]
and ecx, 0xffffbfff
mov dword [edi + 0x78], ecx
mov esi, ecx
test edx, 0x200
je 0x42fd0e
mov eax, dword [0x4b4b98]
test byte [eax + 0xc], 0x20
je 0x42fd0e
or ecx, 0x4000
mov dword [edi + 0x78], ecx
test edx, 0x500
je 0x42fd1f
or ecx, 0x4000
mov dword [edi + 0x78], ecx
movzx eax, word [edi + 0x18]
cmp ax, 0x20
cwde
jge 0x42fd3a
mov esi, dword [eax*4 + 0x4a1a28]
mov eax, dword [eax*4 + 0x4a1a00]
jmp 0x42fd68
mov edx, dword [ebp - 0x1c]
imul eax, eax, 0x92
mov edx, dword [edx + 0x1d4]
cmp dword [eax + edx - 0x1230], 0
mov esi, dword [eax + edx - 0x1238]
je 0x42fd61
mov eax, fcn.0045e490
jmp 0x42fd68
mov eax, dword [eax + edx - 0x1234]
test cl, 2
mov dword [edi + 0x88], esi
push 0
mov ecx, 0x4305c0
cmovne eax, ecx
push 0
push edi
mov dword [edi + 0x90], eax
mov dword [edi + 0x8c], eax
call fcn.0042f490
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x28], 0x20
je 0x42fda8
movsx ecx, word [edi + 0x12]
call fcn.00438d40
mov ecx, eax
call fcn.00439b30
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov dword [edi + 0x44], edx
cmp eax, 0x80000000
jne 0x42fdbe
mov eax, dword [esi + 4]
mov dword [ebp - 0x64], eax
mov dword [edi + 0x4c], eax
mov eax, dword [ebx + 0xc]
cmp eax, 0x80000000
jne 0x42fdd1
mov eax, dword [esi + 8]
mov dword [ebp - 0x60], eax
mov dword [edi + 0x54], eax
mov eax, dword [ebx + 0x18]
test esi, esi
je 0x42fde7
cmp eax, 0xffffffff
jne 0x42fde7
movzx eax, word [esi + 0x10]
mov dword [ebp - 0x58], eax
lea ecx, [eax + eax*2]
mov dword [edi + 0x84], eax
mov eax, dword [0x4b4b98]
shl ecx, 5
add ecx, dword [eax + 0x30]
inc dword [ecx + 0x28]
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov word [ebp - 0x66], ax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x6c], esi
mov esi, 0xb8
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x78]
test eax, 0x230
je 0x42fe5d
mov esi, 0x130
mov dword [edi + 0xc0], fcn.0040d990
mov dword [edi + 0xc4], 0x436520
mov dword [edi + 0xe0], 0x3f800000
mov dword [edi + 0xe4], 0x3f800000
mov dword [edi + 0xcc], 0xffffffff
test al, 0x10
je 0x42fe81
add esi, 0x9e
test byte [ebp - 0x66], 1
jne 0x42fe81
lea eax, [ebp - 0x6c]
xor ecx, ecx
push eax
push edx
mov edx, edi
call fcn.004319e0
mov eax, dword [edi + 0x78]
add esp, 8
test al, 0x20
je 0x42ff48
mov dword [edi + 0xb8], esi
mov ecx, edi
add esi, 0x50
mov dword [edi + 0xc4], fcn.00436610
call fcn.00436570
mov edx, dword [edi + 0x44]
movzx edi, word [edx + 6]
cmp word [edx + edi + 0xa], 0
jl 0x42fef5
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 0xb8]
mov dword [edi + 0xc4], 0x436190
mov dword [edi + eax], 4
xor edx, edx
mov ecx, edi
call fcn.00436680
mov eax, dword [edi + 0xb8]
cmp dword [eax + edi + 0x3c], 0
jne 0x42feea
mov dword [eax + edi + 0x3c], 1
push edi
call fcn.00436610
add esp, 4
jmp 0x42ff48
xor ecx, ecx
xor eax, eax
nop dword [eax]
lea eax, [edx + eax*2]
cmp word [eax + edi + 4], 0
jge 0x42ff17
mov eax, dword [ecx*4 + 0x4a1e84]
inc ecx
test eax, eax
jns 0x42ff00
cmp dword [ecx*4 + 0x4a1e80], 0
jge 0x42ff45
cmp word [edi + edx + 0xc], 0
mov edi, dword [ebp - 0x24]
jl 0x42ff48
mov eax, dword [edi + 0xb8]
mov dword [edi + 0xc4], 0x436320
mov dword [edi + eax], 5
jmp 0x42fecc
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 0x78]
test eax, 0x200
je 0x42ff6c
lea eax, [ebp - 0x6c]
mov dword [edi + 0xbc], esi
push eax
mov ecx, edi
add esi, 0x24
call fcn.00401950
mov eax, dword [edi + 0x78]
add esp, 4
test eax, 0x100
je 0x42ff8b
mov dword [edi + 0x80], esi
test esi, esi
mov esi, dword [ebp - 0x20]
je 0x42ff8e
mov edx, esi
mov ecx, edi
call fcn.00402570
jmp 0x42ff8e
mov esi, dword [ebp - 0x20]
movzx eax, word [edi + 0x18]
cmp ax, 0x20
cwde
jge 0x42ffb9
mov eax, dword [eax*4 + 0x4a1a78]
test eax, eax
je 0x430013
lea ecx, [ebp - 0x6c]
push ecx
push esi
push edi
call eax
mov esi, dword [ebp - 0x1c]
add esp, 0xc
test ax, ax
jne 0x42ffe8
jmp 0x430016
mov esi, dword [ebp - 0x1c]
sub eax, 0x20
imul ecx, eax, 0x92
mov eax, dword [esi + 0x1d4]
mov ecx, dword [ecx + eax]
test ecx, ecx
je 0x430016
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 0x24]
add eax, edx
lea edx, [ebp - 0x6c]
push edx
push eax
push edi
call ecx
test ax, ax
je 0x430016
dec word [esi + 0x4bc]
mov edx, 1
movsx ecx, word [edi]
call fcn.00430060
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x78]
test al, 0x40
je 0x430026
inc dword [esi + 0x518]
mov eax, dword [edi + 0x78]
test eax, 0x200
je 0x430034
mov ecx, edi
call fcn.00401ae0
movsx eax, word [edi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0047a2ad
int3