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

Disassembly:
clc
add dword [eax], eax
sub esp, 0x24
pop es
add byte [eax], al
or al, 0x83
adc al, 0xf
test byte [edx + eax], dh
add byte [eax], al
mov eax, dword fs:[0xdee82c]
mov byte [ebp - 1], 0
mov ecx, dword [eax]
mov eax, dword [0x4d2540]
cmp eax, dword [ecx - 0x21ccfffc]
jg 0x40be93
push ebx
mov dword [0x4d2560], 0x40d08
mov dword [0x4d255c], 0x40d08
mov ebx, dword [esi]
push edi
mov dword [ebp - 0x10], 0x4d2544
mov dword [ebp - 0xc], 0x4d2544
mov edi, dword [ebp + 8]
or al, 0x4b
add al, 0x89
pop ebp
clc
mov edx, dword [edi + 4]
mov dword [ebp - 0x18], edx
call edx
je 0x4503f1
add byte [eax], al
je 0x40bca2
mov eax, dword [ebx]
cmp edx, ecx
jb 0x4683e4
mov ebx, edx
test ebx, ebx
je 0x40bc8c
mov edi, dword [edi]
sub edi, eax
movzx ecx, word [edi + eax]
movzx edx, word [eax]
cmp cx, dx
jne 0x40bc90
add eax, 2
sub ebx, 1
jne 0x40bc78
xor eax, eax
jmp 0x40bc96
sbb eax, eax
and eax, 0xfffffffe
inc eax
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 8]
mov eax, dword [eax + edi*2 + 0x4e]
jle 0x40bcea
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x18], ecx
add byte [eax], al
jnp 0xc1996d
mov bl, byte [ebp - 1]
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
pop edi
mov eax, dword [eax + 0x18]
xor byte [ecx + 0x1c], al
mov al, bl
mov ecx, dword [esi]
pop ebx
mov ecx, dword [ecx + 0x1c]
mov dword [edx + 0x18], ecx
mov edx, dword [esi]
mov ecx, dword [0x4d2560]
mov dword [edx + 0x18], ecx
mov edx, dword [esi]
mov ecx, dword [0x4d255c]
pop esi
mov dword [edx + 0x1c], ecx
mov esp, ebp
pop ebp
add byte [eax], al
test byte [ebx - 0x743a14ff], dh
jnp 0x40bd09
mov bl, 1
jmp 0x40bcb3
test edi, edi
je 0x40bcb0
mov eax, dword [edi + 4]
cmp edx, eax
ja 0x468485
mov ecx, dword [edi]
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], ecx
test edx, edx
je 0x46842d
ror byte [edi], cl
test byte [0x8b0005c7], bl
inc ebp
or byte [ebx - 0x763ed500], cl
inc ebp
call 0x84d742d
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, ecx
mov dword [ebp - 0x18], eax
movzx ecx, word [eax + ecx]
mov eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax]
mov esi, eax
mov dword [ebp - 0x1c], esi
add byte [eax], al
or al, 0x66
cmp ecx, eax
je 0x6848be14
cmp cx, ax
jae 0x40bd56
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x18], eax
mov eax, dword [esi]
mov dword [edi + 0x1c], eax
mov dword [esi], edi
cmp dword [edi + 0x18], 0
je 0xe900bcb0
add dword [ebp - 0x10], edx
mov eax, dword [esi]
mov dword [edx + 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov ebx, dword [eax + 0x18]
mov dword [esi], ebx
jmp 0xe900a649
push 0x4d2540
call 0xc9420255
add esp, 4
cmp dword [0x4d2540], 0xffffffff
jne 0xf940bc23
mov ecx, 0x4d2544
call 0x2729a974
push 0x442449
call fcn.004200b6
push 0x4d2540
call 0xc942020b
add esp, 8
jmp 0x40bc23
dec dword [ebx + ecx*4]
invalid
cmp ax, word [ebp - 0x18]
jne 0x4683e5
push 0x20
pop eax
inc ecx
cmp word [edi + ecx*2], ax
je 0x4683de
stc
movzx eax, word [edi + ecx*2]
inc ecx
mov dword [ebp + 8], eax
cmp eax, 0x29
je 0x46840e
mov eax, dword [esi + 4]
mov esi, dword [ebp + 8]
mov word [eax + ebx*2], si
inc ebx
movzx eax, word [edi + ecx*2]
push 0x3b
pop esi
cmp ax, si
mov esi, dword [ebp - 8]
jne 0x4683d5
jmp 0x468412
xor eax, eax
mov edx, eax
push 0x20
pop eax
jmp 0x468418
inc ecx
cmp word [edi + ecx*2], ax
je 0x468417
mov eax, dword [esi + 4]
lea eax, [eax + ebx*2]
test edx, edx
jne 0x46842c
push 0xa
jmp 0x46842e
push 0x3b
cmp ebx, dword [esi + 0x66]
mov dword [eax], esi
pop esi
mov word [eax], si
inc ebx
push 0x3b
pop eax
mov dword [ebp + 8], esi
mov esi, dword [ebp - 8]
cmp word [edi + ecx*2], ax
jne 0x468443
inc ecx
xor eax, eax
inc eax
push 0x20
cmp edx, eax
je 0xff7383c9
mov eax, dword [ebp - 4]
mov dword [ebp + 8], ebx
pop edx
cmp ecx, dword [ebp - 0x14]
jl 0xfc46833d
xor edi, edi
push 3
pop ecx
cmp dword [esi + 0x24], edi
je 0x46846f
add eax, ecx
mov dword [ebp - 4], eax
xor ecx, ecx
push 4
pop edi
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fe4e
mov dword [esi + 8], eax
xor ecx, ecx
or byte [ebx], dh
leave
mov eax, dword [ebp - 4]
push 0x1c
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fe4e
mov dword [esi + 0xc], eax
xor edx, edx
pop ecx
pop ecx
mov dword [eax], 0x4c6250
xor ecx, ecx
mov eax, dword [esi + 0xc]
inc ecx
push 2
mov dword [eax + 4], edx
mov eax, dword [esi + 0xc]
or dword [eax + 8], 0xffffffff
mov eax, dword [esi + 0xc]
or dword [eax + 0xc], 0xffffffff
mov eax, dword [esi + 0xc]
mov dword [eax + 0x10], edi
mov eax, dword [esi + 0xc]
mov dword [eax + 0x14], edx
mov eax, dword [esi + 0xc]
mov word [eax + 0x18], cx
xor ecx, ecx
mov eax, dword [esi + 0xc]
mov word [eax + 0x1a], cx
mov eax, dword [esi + 0xc]
pop ecx
push 0x13
mov dword [ebp - 0xc], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x20], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x24], edx
mov eax, dword [esi + 0xc]
or dword [eax + 0x28], 0xffffffff
mov eax, dword [esi + 0xc]
mov dword [eax + 0x2c], edi
mov eax, dword [esi + 0xc]
pop edi
mov dword [eax + 0x30], edx
mov eax, dword [esi + 0xc]
mov word [eax + 0x34], cx
mov eax, dword [esi + 0xc]
mov word [eax + 0x36], di
mov edi, ecx
mov eax, dword [esi + 8]
mov dword [eax], edx
mov eax, dword [esi + 8]
mov dword [eax + 4], edx
cmp dword [esi + 0x24], edx
je 0xdce865f
mov eax, dword [esi + 0xc]
push 5
pop edi
push 3
mov dword [eax + 0x38], 0x4c6274
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xc], edi
mov dword [eax + 0x40], 0xb6750001
mov eax, dword [esi + 0xc]
mov dword [eax + 0x44], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x48], 0xb6750004
mov eax, dword [esi + 0xc]
mov dword [eax + 0x4c], ecx
xor ecx, ecx
mov eax, dword [esi + 0xc]
inc ecx
mov word [eax + 0x50], cx
mov eax, dword [esi + 0xc]
pop ecx
push 0x10
mov word [eax + 0x52], cx
call fcn.0041fe4e
pop ecx
mov ecx, dword [esi + 8]
xor edx, edx
push 0x48
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
pop ecx
push 0x13
mov eax, dword [eax + 8]
mov word [eax + 4], cx
mov ecx, 0xb6754013
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
mov word [eax + 0xc], cx
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
mov dword [eax], edx
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
mov dword [eax + 8], edx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [eax + 8]
mov dword [ecx + 0x3c], eax
xor ecx, ecx
mov eax, dword [esi + 0xc]
inc ecx
mov dword [eax + 0x54], 0x4c6294
mov eax, dword [esi + 0xc]
mov dword [eax + 0x58], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x5c], 0xb6750002
mov eax, dword [esi + 0xc]
mov dword [eax + 0x60], ecx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x64], 0xb6750004
mov eax, dword [esi + 0xc]
mov dword [eax + 0x68], edx
mov eax, dword [esi + 0xc]
mov word [eax + 0x6c], cx
mov eax, dword [esi + 0xc]
pop ecx
push 3
mov word [eax + 0x6e], cx
mov eax, dword [esi + 8]
pop ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x70], 0x4c62a4
mov eax, dword [esi + 0xc]
mov dword [eax + 0x74], edx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x78], ecx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x7c], 0xb6750002
mov eax, dword [esi + 0xc]
mov dword [eax - 0x498aff80], 0x88080004
mov eax, dword [esi + 0xc]
mov dword [eax + 0xc1fc84], edx
xor ecx, ecx
mov eax, dword [esi + 0xc]
inc ecx
push 0x13
mov word [eax + 0xd880812], cx
mov eax, dword [esi + 0xc]
pop ecx
mov word [eax + 0xd88088a], cx
mov eax, dword [esi + 8]
mov dword [eax + 0x10], edx
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x28], edx
mov ecx, eax
mov dword [ebp - 0x2c], ecx
push 8
pop eax
test ebx, ebx
jle 0xdce88c6
mov eax, dword [ebp - 0xc]
shl eax, 2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
imul edi, edi, 0x1c
add eax, 0xfffffffe
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edi
movzx ebx, word [eax + ecx*2]
cmp bx, word [ebp - 0x30]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 8]
jne 0x4686bc
xor edx, edx
mov word [eax + ecx*2], dx
lea edx, [ecx + 1]
lea edx, [eax + edx*2]
mov dword [ebp - 0x28], edx
jmp 0x4bbc88b7
push 0xa
pop esi
cmp word [ebp - 0x18], si
mov esi, dword [ebp - 8]
je 0x4686d3
cmp word [ebp - 0x18], 0
jne 0x10788b7
xor ebx, ebx
mov word [eax + ecx*2], bx
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [edi + eax], ecx
mov ecx, dword [ebp - 0x20]
cmovbe ecx, dword [ecx*4 + 0x5c890159]
cmp byte [eax], cl
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x38], ebx
mov dword [eax + edi + 0xc], ecx
xor ecx, ecx
mov eax, dword [esi + 0xc]
inc ecx
mov word [eax + edi + 0x18], cx
xor eax, eax
mov dword [ebp - 0xc], eax
mov ecx, eax
movzx eax, word [edx]
mov ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp + 8]
mov cx, word [ebp + 0x74]
cmp dword [ebx - 0x2748f006], ecx
mov esi, ecx
push 0x3b
pop eax
cmp bx, ax
jne 0x46873a
xor eax, eax
cmp word [edi + 2], ax
je 0x468735
inc esi
jmp 0x46873a
xor eax, eax
mov word [edi], ax
inc ecx
lea edi, [edx + ecx*2]
movzx eax, word [edi]
mov ebx, eax
jmp 0x46fcd1
or byte [ebx - 0x74bcfba8], cl
into
call fcn.00407553
push ebx
push 0
push dword [esi + 8]
lea ecx, [ebp - 0x10]
call int.00406d68
mov ecx, dword [ebp + 0x24]
lea eax, [ebp - 0x10]
push eax
call fcn.004062f8
mov ecx, dword [ebp - 0x10]
lea edx, [ebx + 1]
call 0x8a46eff1
mov esi, eax
push ebx
push esi
push dword [ebp + 0x10]
call fcn.00420e63
push esi
call 0x2d41fe57
add esp, 0x10
jmp 0x46fead
lea ecx, [ebp - 0x10]
call fcn.004098d2
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x20