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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x160
push esi
push edi
mov edi, ecx
mov dword [esp + 0x44], edi
mov eax, dword [edi + 0xec]
cmp eax, 0xed8
jge 0x4450ed
inc eax
mov dword [edi + 0xec], eax
cmp eax, 1
je 0x411023
cmp byte [edi + 0xfc], 0
mov byte [edi + 0x144], 0
jne 0x410e44
mov esi, dword [0x48f6f0]
cmp byte [edi + 0x144], 0
mov edx, 2
jne 0x410e44
cmp byte [0x4c6281], 0
jne 0x44513a
cmp byte [0x4c67e8], 0
jne 0x44514c
push 1
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call esi
test eax, eax
jne 0x410f70
cmp byte [0x4c6282], 1
je 0x4451c1
cmp dword [edi + 0xf8], 1
je 0x446063
mov edx, 2
cmp dword [0x4c74a8], 0
jne 0x4451de
cmp byte [0x4c6287], 1
je 0x44529e
cmp dword [edi + 0x454], 0
je 0x410c64
cmp byte [0x4c741c], 0
jne 0x410c64
mov esi, dword [edi + 0x44c]
lea eax, [edi + 0x44c]
mov byte [0x4c741c], 1
mov dword [esp + 0x14], 0
mov dword [esp + 8], eax
nop
test esi, esi
jne 0x410e6b
mov edi, dword [esp + 8]
lea esp, [esp]
mov eax, dword [edi]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x410eb4
mov edi, dword [esp + 0x44]
mov byte [0x4c741c], al
cmp dword [esp + 0x14], eax
jg case.default.0x445e10
lea edx, [eax + 2]
cmp byte [0x4c67bc], 0
je 0x410d2d
cmp byte [edi + 0x458], 1
je 0x410d2d
cmp byte [0x4c67e8], 1
je 0x410d2d
xor ecx, ecx
mov dword [esp + 0x9c], 0
mov eax, 8
mov dword [esp + 0xa0], 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420ff6
add esp, 4
mov dword [esp + 0x98], eax
xor ecx, ecx
mov word [eax], cx
push 4
call fcn.00420ff6
add esp, 4
test eax, eax
je 0x4110fc
mov dword [eax], 1
mov dword [esp + 0xa4], eax
jmp 0x410cf0
cmp dword [0x4c67dc], 0
jne 0x4452da
cmp byte [0x4c67bc], 0
je 0x445484
mov esi, dword [esp + 0xa4]
dec dword [esi]
jne 0x410d2d
push dword [esp + 0x98]
call fcn.0042106c
add esp, 4
push esi
call fcn.0042106c
add esp, 4
cmp dword [edi + 0x184], 0
jne 0x4454ad
cmp byte [0x4c6930], 0
jne 0x445b2c
mov eax, dword [edi + 0xf8]
cmp eax, 7
je 0x445c49
cmp eax, 2
je 0x410fdd
cmp eax, 8
je 0x445f22
cmp eax, 9
je 0x445f22
cmp eax, 3
je 0x410fdd
cmp eax, 4
je 0x410fdd
cmp eax, 5
je 0x410fdd
cmp eax, 6
je 0x410fdd
mov esi, dword [ebp + 8]
inc dword [ebp + 8]
mov dword [edi + 0xf4], esi
cmp esi, dword [0x4c72a0]
jg 0x445df5
test esi, esi
jle 0x445df5
shl esi, 4
add esi, dword [0x4c72dc]
je 0x445df5
mov eax, dword [esi + 4]
xor edx, edx
mov ecx, 1
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], edx
movsx eax, word [eax + 8]
test eax, eax
jne 0x410ec8
lea eax, [ebp + 8]
mov ecx, edi
push eax
push esi
call fcn.0040e580
mov esi, dword [esp + 0x58]
test esi, esi
jne 0x410f43
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], edx
cmp ecx, 5
jge 0x4110e9
mov dword [esp + 0x5c], 1
mov dword [esp + 0x50], 0
mov esi, dword [0x48f6f0]
cmp byte [edi + 0xfc], 0
je 0x410b7f
mov eax, dword [edi + 0xec]
mov byte [edi + 0x144], 0
cmp eax, 1
je 0x41103d
dec eax
mov dword [edi + 0xec], eax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
cmp byte [eax + 0x11], 0
jne 0x410eac
mov edi, dword [eax + 0x14]
call dword [0x48f7b8]
mov ecx, eax
xor edx, edx
sub eax, edi
cmp edi, 0x7fffffff
ja 0x4452b8
cmp ecx, 0x7fffffff
ja 0x410e97
cdq
mov edi, dword [esi]
test edx, edx
jl 0x410eac
jg 0x4110ae
cmp eax, dword [edi + 0x18]
jae 0x4110ae
mov esi, dword [esi + 4]
jmp 0x410c30
mov ecx, dword [eax]
cmp byte [ecx + 0x11], 0
jne 0x4452c9
mov eax, dword [eax + 4]
jmp 0x410c42
cmp eax, 0x33
jne 0x410eda
push esi
mov ecx, edi
call fcn.0040e800
jmp 0x410e00
dec eax
cmp eax, 0x7e
ja case.0x410eeb.2
movzx eax, byte [eax + 0x411124]
jmp dword [eax*4 + 0x411110]
lea eax, [esp + 0x50]
mov ecx, edi
push eax
lea eax, [esp + 0x24]
push eax
push esi
push 0
call fcn.0040f5c0
test eax, eax
js 0x410e00
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x20]
mov eax, dword [ecx + eax*4]
cmp word [eax + 8], 0x7f
je 0x410e00
jmp 0x445d2d
lea eax, [esp + 0x6b]
mov ecx, edi
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x28]
push eax
push esi
push 0
call fcn.0040fe40
jmp 0x410f06
mov eax, dword [esi + 0xc]
dec dword [eax]
mov eax, dword [esi + 0xc]
cmp dword [eax], 0
je 0x445d49
push esi
call fcn.0042106c
add esp, 4
mov dword [esp + 0x58], 0
jmp 0x410e0c
cmp dword [esp + 0x98], 0x12
je 0x4451ab
mov ecx, dword [0x4c67d8]
cmp ecx, 0xffffffff
jne 0x44515e
lea eax, [esp + 0x94]
mov ecx, 0x4c67b0
push eax
call fcn.004031ce
test eax, eax
je 0x410fbf
push 1
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call esi
test eax, eax
je 0x410bc5
jmp 0x410f70
lea eax, [esp + 0x94]
push eax
call dword [0x48f6ec]
lea eax, [esp + 0x94]
push eax
call dword [0x48f6e8]
jmp 0x410fa3
push 0xa
call dword [0x48f17c]
cmp dword [edi + 0x2f0], 0
je 0x41100f
mov ecx, dword [edi + 0x2f8]
call fcn.00420719
test edx, edx
jl 0x41100f
jg 0x41108f
cmp eax, dword [edi + 0x2f0]
jae 0x41108f
mov eax, dword [edi + 0xf8]
cmp eax, 3
jl case.default.0x445e10
jmp 0x445e04
mov eax, dword [edi + 0x11c]
mov dword [esp + 0x40], eax
invalid
dec ecx