Function at 0x4ea5d0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
mov eax, dword [0x708598]
cmp eax, 7
push ebx
push ebp
mov ebp, ecx
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], 0
je 0x4ea5f3
cmp eax, 0xa
jne 0x4ea5fb
mov dword [esp + 0x1c], 0x19
mov ecx, 0x2209408
call fcn.00542d40
mov eax, dword [0x70859c]
mov edi, dword [0x7085a0]
cdq
sub eax, edx
mov ebx, eax
mov eax, 0x66666667
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
sar ebx, 1
sub edi, 0x1c2
sub ebx, 0x9c
push edi
lea ecx, [ebp + 4]
push ebx
mov dword [esp + 0x2c], ebx
call fcn.00549a70
mov ecx, dword [0x223f100]
mov eax, dword [ecx + 0x244]
test eax, eax
mov dword [esp + 0x28], eax
jle 0x4eac3e
fld dword [ebp + 0x1de4]
push esi
call fcn.005cd414
mov esi, eax
cmp esi, dword [esp + 0x2c]
mov dword [esp + 0x24], esi
jge 0x4eac76
lea edx, [ebp + esi*4 + 0x1e3c]
mov dword [esp + 0x2c], edx
mov ecx, dword [0x7191d4]
mov eax, dword [ecx]
push 0x3a
call dword [eax + 4]
test al, al
je 0x4ea6ab
mov eax, dword [ebp + 0x1e90]
test eax, eax
je 0x4ea6ab
mov ecx, dword [esp + 0x2c]
mov ebp, dword [ecx]
dec ebp
mov dword [esp + 0x1c], ebp
jmp 0x4ea6b1
mov dword [esp + 0x1c], esi
mov ebp, esi
mov edx, dword [esp + 0x18]
fld dword [edx + 0x1de4]
call fcn.005cd414
lea ecx, [eax + 0xd]
cmp ecx, esi
jle 0x4eac72
mov edx, dword [0x223f100]
mov ecx, dword [edx + 0x240]
test ecx, ecx
mov dword [esp + 0x30], ecx
je 0x4eac15
imul ebp, ebp, 0x26
sub esi, eax
movzx eax, byte [ecx + ebp + 1]
sub eax, 0
mov dword [esp + 0x10], ebp
je 0x4ea820
dec eax
je 0x4ea794
dec eax
jne 0x4ea9ee
cmp dword [0x708598], 0xb
jne 0x4ea754
push 0x277f
call fcn.0041d4a0
mov edx, esi
imul edx, edx, 0x16
add edx, edi
mov dword [esp + 0x18], edx
push eax
push 0
fild dword [esp + 0x20]
push 0xfff3a0a0
fadd dword [0x2201c20]
call fcn.005cd414
push eax
lea eax, [ebx + 0xe1]
push eax
push 0x2209408
call fcn.005418c0
jmp 0x4ea9eb
mov ecx, esi
imul ecx, ecx, 0x16
add ecx, edi
mov dword [esp + 0x14], ecx
push str.Closed
push 0
fild dword [esp + 0x1c]
push 0xfff3a0a0
fadd dword [0x2201c20]
call fcn.005cd414
push eax
lea edx, [ebx + 0xe1]
push edx
push 0x2209408
call fcn.005418c0
add esp, 0x18
jmp 0x4ea9ee
cmp dword [0x708598], 0xb
jne 0x4ea7e0
push 0x277e
call fcn.0041d4a0
push eax
mov eax, esi
imul eax, eax, 0x16
add eax, edi
mov dword [esp + 0x1c], eax
push 0
push 0xfff3a0a0
fild dword [esp + 0x24]
fadd dword [0x2201c20]
call fcn.005cd414
push eax
lea ecx, [ebx + 0xe1]
push ecx
push 0x2209408
call fcn.005418c0
jmp 0x4ea9eb
mov edx, esi
imul edx, edx, 0x16
add edx, edi
mov dword [esp + 0x14], edx
push 0x6c3824
push 0
fild dword [esp + 0x1c]
push 0xfff3a0a0
fadd dword [0x2201c20]
call fcn.005cd414
push eax
lea eax, [ebx + 0xe1]
push eax
push 0x2209408
call fcn.005418c0
add esp, 0x18
jmp 0x4ea9ee
mov ecx, dword [edx + 0x240]
movzx edx, word [ecx + ebp + 4]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fld dword [0x6be80c]
fmul st(1)
call fcn.005cd414
fld dword [0x6c3820]
fmul st(1)
mov ebp, eax
call fcn.005cd414
fmul dword [0x6bca18]
mov dword [esp + 0x14], eax
call fcn.005cd414
cmp dword [0x708598], 2
jne 0x4ea879
mov ebp, 0xbb8
mov dword [esp + 0x14], 0x7d0
mov eax, 0x3e8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
movzx ecx, word [ecx + edx + 2]
cmp ecx, ebp
jle 0x4ea919
mov eax, dword [0x708598]
cmp eax, 2
je 0x4ea8e1
cmp eax, 0xb
je 0x4ea8e1
mov eax, esi
imul eax, eax, 0x16
add eax, edi
mov dword [esp + 0x30], eax
push str.Full
push 0
fild dword [esp + 0x38]
push 0xfff3a0a0
fadd dword [0x2201c20]
call fcn.005cd414
push eax
lea ecx, [ebx + 0xe1]
push ecx
push 0x2209408
call fcn.005418c0
mov ebp, dword [esp + 0x28]
add esp, 0x18
jmp 0x4ea9ee
push 0x2771
call fcn.0041d4a0
mov edx, esi
imul edx, edx, 0x16
add edx, edi
mov dword [esp + 0x34], edx
push eax
push 0
fild dword [esp + 0x3c]
push 0xfff3a0a0
fadd dword [0x2201c20]
call fcn.005cd414
push eax
lea eax, [ebx + 0xe1]
jmp 0x4ea9dc
cmp ecx, dword [esp + 0x14]
jle 0x4ea960
push 0x2760
call fcn.0041d4a0
mov ecx, esi
imul ecx, ecx, 0x16
add ecx, edi
mov dword [esp + 0x34], ecx
push eax
push 0
fild dword [esp + 0x3c]
push 0xfff3dea0
fadd dword [0x2201c20]
call fcn.005cd414
mov ecx, dword [esp + 0x30]
mov edx, ebx
sub edx, ecx
push eax
add edx, 0xe1
push edx
jmp 0x4ea9dd
cmp ecx, eax
jle 0x4ea9a2
push 0x2761
call fcn.0041d4a0
push eax
mov eax, esi
imul eax, eax, 0x16
add eax, edi
mov dword [esp + 0x38], eax
push 0
push 0xffa8f3a0
fild dword [esp + 0x40]
fadd dword [0x2201c20]
call fcn.005cd414
push eax
mov eax, dword [esp + 0x34]
mov ecx, ebx
sub ecx, eax
add ecx, 0xe1
push ecx
jmp 0x4ea9dd
push 0x2762
call fcn.0041d4a0
mov edx, esi
imul edx, edx, 0x16
add edx, edi
mov dword [esp + 0x34], edx
push eax
push 0
fild dword [esp + 0x3c]
push 0xffa0cff3
fadd dword [0x2201c20]
call fcn.005cd414
mov ecx, dword [esp + 0x30]
push eax
mov eax, ebx
sub eax, ecx
add eax, 0xe1
push eax
push 0x2209408
call fcn.005418c0
mov ebp, dword [esp + 0x2c]
add esp, 0x1c
mov eax, dword [0x708598]
imul esi, esi, 0x16
add esi, edi
cmp eax, 2
jne 0x4eaa81
mov ecx, dword [0x223f100]
mov edx, dword [ecx + 0x240]
movzx ecx, byte [edx + ebp]
lea eax, [edx + ebp]
mov ebp, dword [esp + 0x18]
mov edx, dword [ebp + 0x1e38]
add eax, 6
cmp edx, ecx
push eax
push 0x6be170
push 0
je 0x4eaa72
mov dword [esp + 0x3c], esi
fild dword [esp + 0x3c]
push 0xffffffffffffffff
fstp dword [esp + 0x20]
fild dword [esp + 0x38]
fstp dword [esp + 0x24]
fld dword [esp + 0x20]
fadd dword [0x2201c20]
call fcn.005cd414
fld dword [esp + 0x24]
fadd dword [0x2201c1c]
push eax
call fcn.005cd414
push eax
push 0x2209408
call fcn.005418c0
add esp, 0x1c
jmp 0x4eaae6
mov dword [esp + 0x3c], esi
fild dword [esp + 0x3c]
push 0xffffff00
jmp 0x4eaa37
mov edx, dword [0x223f100]
mov eax, dword [edx + 0x240]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], esi
fild dword [esp + 0x30]
lea ecx, [eax + ebp + 6]
push ecx
inc edx
fstp dword [esp + 0x14]
push edx
fild dword [esp + 0x30]
push 0x6c3810
push 0
push 0xffffffffffffffff
fstp dword [esp + 0x28]
fld dword [esp + 0x24]
fadd dword [0x2201c20]
call fcn.005cd414
fld dword [esp + 0x28]
fadd dword [0x2201c1c]
push eax
call fcn.005cd414
push eax
push 0x2209408
call fcn.005418c0
mov ebp, dword [esp + 0x38]
add esp, 0x20
mov eax, dword [esp + 0x1c]
cmp dword [ebp + 0xbd8], eax
jne 0x4eac11
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 2
push 1
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 0
push 2
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 5
push 4
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 0
push 5
push 0
push eax
call dword [edx + 0x10c]
fld dword [0x70a1d0]
push 0x3f800000
push 0
push 0x3f800000
push 0
call fcn.005cd414
fld dword [0x70a1cc]
push eax
call fcn.005cd414
fld dword [esp + 0x24]
fadd dword [0x70a1c8]
push eax
call fcn.005cd414
fld dword [esp + 0x2c]
fadd dword [0x70a1c4]
push eax
call fcn.005cd414
push eax
push 0x7aa0a0a0
lea ecx, [ebp + 4]
call fcn.00549ba0
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 4
push 1
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 2
push 2
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 1
push 3
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 4
push 4
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 2
push 5
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 1
push 6
push 0
push eax
call dword [edx + 0x10c]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov eax, dword [0x223f100]
mov ecx, dword [eax + 0x244]
mov ebp, dword [esp + 0x18]
inc esi
add edx, 4
cmp esi, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], edx
jl 0x4ea683
jmp 0x4eac76
cmp dword [0x708598], 2
jne 0x4eac77
push 0x278b
call fcn.0041d4a0
push eax
push 0x6be170
push 0
push 0xffffffffffffffff
lea ecx, [edi + 0x52]
push ecx
lea edx, [ebx + 0x23]
push edx
push 0x2209408
call fcn.005418c0
add esp, 0x20
jmp 0x4eac77
mov ebp, dword [esp + 0x18]
pop esi
push edi
push ebx
lea ecx, [ebp + 0xbdc]
call fcn.0052b6f0
lea ecx, [ebp + 0x28]
call fcn.005277a0
pop edi
lea ecx, [ebp + 0x600]
pop ebp
pop ebx
add esp, 0x24
jmp fcn.005277a0