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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0xec]
push edi
mov dword [esp + 0x4c], ebx
cmp eax, 0xf3c
jge 0x476f7c
inc eax
mov dword [ebx + 0xec], eax
cmp eax, 1
je 0x410610
cmp byte [ebx + 0x100], 0
mov byte [ebx + 0x148], 0
jne 0x410487
mov esi, dword [0x4906dc]
cmp byte [ebx + 0x148], 0
mov edx, 2
jne 0x410487
cmp byte [0x4c40b7], 0
jne 0x476f97
cmp byte [0x4c4660], 0
jne 0x476fa9
push 1
push 0
push 0
push 0
lea eax, [esp + 0x60]
push eax
call esi
test eax, eax
jne 0x4105b0
cmp byte [0x4c40c0], 1
je 0x476fd1
cmp dword [ebx + 0xfc], 1
je 0x4777fd
mov edx, 2
cmp dword [0x4c4104], 0
jne 0x476fee
cmp byte [0x4c40c5], 1
je 0x47707b
cmp dword [ebx + 0x480], 0
je 0x4102c4
cmp byte [0x4c5180], 0
jne 0x4102c4
mov esi, dword [ebx + 0x478]
lea eax, [ebx + 0x478]
mov byte [0x4c5180], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
lea ecx, [ecx]
test esi, esi
jne 0x4104af
mov ebx, dword [esp + 0x10]
lea esp, [esp]
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4104f8
mov ebx, dword [esp + 0x4c]
mov byte [0x4c5180], al
cmp dword [esp + 0x1c], eax
jg case.default.0x4775b6
lea edx, [eax + 2]
cmp byte [0x4c4634], 0
je 0x410377
cmp byte [ebx + 0x484], 1
je 0x410377
cmp byte [0x4c4660], 1
je 0x410377
xor ecx, ecx
mov eax, 8
mul edx
seto cl
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 8
neg ecx
or ecx, eax
push ecx
call fcn.004233fa
add esp, 4
xor ecx, ecx
push 4
mov dword [esp + 0x58], eax
mov word [eax], cx
call fcn.004233fa
add esp, 4
test eax, eax
je 0x4106a6
mov dword [eax], 1
mov dword [esp + 0x60], eax
lea esp, [esp]
cmp dword [0x4c4654], 0
jne 0x4770b7
cmp byte [0x4c4634], 0
je 0x47723a
mov esi, dword [esp + 0x60]
dec dword [esi]
jne 0x410377
push dword [esp + 0x54]
call fcn.0042346e
add esp, 4
push esi
call fcn.0042346e
add esp, 4
mov ecx, ebx
call fcn.00410750
cmp al, 1
je case.default.0x4775b6
cmp byte [0x4c47a8], 0
jne 0x47726c
mov eax, dword [ebx + 0xfc]
cmp eax, 7
je 0x477371
cmp eax, 8
je 0x4776bc
cmp eax, 9
je 0x4776bc
cmp eax, 2
je 0x477560
cmp eax, 3
je 0x477560
cmp eax, 4
je 0x477560
cmp eax, 5
je 0x477560
cmp eax, 6
je 0x477560
mov eax, dword [ebp + 8]
mov dword [ebx + 0xf4], eax
mov esi, eax
inc eax
mov dword [ebp + 8], eax
cmp esi, dword [0x4c5110]
jg 0x477551
test esi, esi
jle 0x477551
shl esi, 4
add esi, dword [0x4c514c]
je 0x477551
mov eax, dword [esi + 4]
xor edx, edx
mov ecx, 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov edi, dword [eax]
mov dword [esp + 0x1c], edx
movsx eax, word [edi + 8]
test eax, eax
jne 0x41050c
lea eax, [ebp + 8]
push eax
push esi
mov ecx, ebx
call fcn.00410780
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x410587
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
cmp ecx, 5
jge 0x4774a0
mov dword [esp + 0x2c], 1
mov dword [esp + 0x20], 0
mov esi, dword [0x4906dc]
cmp byte [ebx + 0x100], 0
je 0x4101e0
mov eax, dword [ebx + 0xec]
mov byte [ebx + 0x148], 0
cmp eax, 1
je 0x41061a
dec eax
mov dword [ebx + 0xec], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [esi]
cmp byte [edi + 0x11], 0
jne 0x4104f0
mov edi, dword [edi + 0x14]
call dword [0x4907a0]
mov ecx, eax
sub eax, edi
xor edx, edx
cmp edi, 0x7fffffff
ja 0x477095
cmp ecx, 0x7fffffff
ja 0x4104db
cdq
mov edi, dword [esi]
test edx, edx
jl 0x4104f0
jg 0x41066c
cmp eax, dword [edi + 0x18]
jae 0x41066c
mov esi, dword [esi + 4]
jmp 0x410290
mov ecx, dword [eax]
cmp byte [ecx + 0x11], 0
jne 0x4770a6
mov eax, dword [eax + 4]
jmp 0x4102a2
cmp eax, 0x33
jne 0x41051e
push esi
mov ecx, ebx
call fcn.00410a10
jmp 0x410447
dec eax
cmp eax, 0x7e
ja case.0x41052f.2
movzx eax, byte [eax + 0x4106c4]
jmp dword [eax*4 + 0x4106b0]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push esi
push 0
mov ecx, ebx
call fcn.004166f0
test eax, eax
js 0x410447
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x1c]
mov eax, dword [ecx + eax*4]
cmp word [eax + 8], 0x7f
je 0x410447
jmp 0x47746a
lea eax, [esp + 0x4b]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
push esi
push 0
mov ecx, ebx
call fcn.004158b0
jmp 0x41054a
mov eax, dword [esi + 0xc]
dec dword [eax]
mov eax, dword [esi + 0xc]
cmp dword [eax], 0
je 0x477486
push esi
call fcn.0042346e
add esp, 4
mov dword [esp + 0x28], 0
jmp 0x410453
cmp dword [esp + 0x54], 0x12
je 0x476fbb
lea eax, [esp + 0x50]
push eax
mov ecx, 0x4c4628
call fcn.004224e5
test eax, eax
jne 0x4105f7
lea eax, [esp + 0x50]
push eax
mov ecx, 0x4c4628
call fcn.00421f39
test eax, eax
jne 0x4105f7
lea eax, [esp + 0x50]
push eax
call dword [0x4906d4]
lea eax, [esp + 0x50]
push eax
call dword [0x4906d0]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x60]
push eax
call esi
test eax, eax
je 0x410223
jmp 0x4105b0
call fcn.00421b58
jmp 0x4101c6
mov ecx, ebx
call fcn.00403263
cmp byte [ebx + 0x100], 1
je 0x4104a4
mov ecx, ebx
call fcn.00421b84
push 0
call dword [0x4906cc]
push dword [0x4c40e8]
call dword [0x490624]
mov esi, dword [0x4906c8]
push 0
push 0
push 0
lea eax, [esp + 0xe8]
push eax
call esi
test eax, eax
jle 0x4104a4
jmp 0x47781c
inc dword [esp + 0x1c]
call dword [0x4907a0]
mov dword [edi + 0x14], eax
push dword [esi]
mov ecx, ebx
call fcn.00402167
mov ecx, dword [esi]
push 0
mov byte [ecx + 0x10], 1
mov eax, dword [eax + 0x10]
push 1
inc eax
push eax
mov ecx, ebx
call fcn.0041ec97
mov eax, dword [esi]
mov byte [eax + 0x10], 0
mov esi, dword [esi + 4]
jmp 0x410290
xor eax, eax
jmp 0x410335
push 0xffffffffffffffff
push 0x9a
mov byte [0x4c40b6], 0
call fcn.0044fb4b
or eax, 0xffffffff
jmp 0x4104a6
cmp byte [ebx + 0x149], 0
je 0x410242
jmp 0x4101ff
cmp dword [ebx + 0xfc], 0
je 0x410242
jmp 0x41020c
mov byte [ebx + 0x100], 1
mov dword [ebx + 0xfc], 1
jmp 0x410223
mov byte [0x4c40c5], 0
mov byte [0x4c40c0], 0
mov dword [ebx + 0xfc], 1
jmp 0x410230
mov eax, dword [0x4c4108]
mov esi, dword [eax]
call fcn.0044fe9a
mov edx, dword [ebx + 0x1cc]
xor edi, edi
test edx, edx
je 0x477020
mov ecx, dword [ebx + 0x1c8]
mov eax, dword [ecx]
mov eax, dword [eax]
test eax, eax
je 0x477018
cmp dword [eax], esi
je 0x477020
inc edi
add ecx, 4
cmp edi, edx
jb 0x47700c
cmp edi, edx
je 0x47706b
mov eax, dword [ebx + 0x1c8]
mov ecx, ebx
mov eax, dword [eax + edi*4]
mov eax, dword [eax]
add eax, 8
push eax
call fcn.00402167
mov ecx, dword [ebx + 0x1c8]
mov esi, eax
mov ecx, dword [ecx + edi*4]
mov ecx, dword [ecx]
add ecx, 0x18
push ecx
lea ecx, [ebx + 0x150]
call fcn.0040ee79
mov eax, dword [esi + 0x10]
push 0
push 1
inc eax
push eax
mov ecx, ebx
call fcn.0041ec97
jmp case.default.0x4775b6
mov esi, dword [0x4906dc]
mov edx, 2
jmp 0x41024f
cmp byte [0x4c40b7], 0
jne 0x41025c
push 0xa
call dword [0x490170]
jmp 0x41047a
cmp ecx, 0x7fffffff
jbe 0x4104db
jmp 0x4104da
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.0045d3e2
jmp 0x4102a0
mov eax, dword [0x4c4658]
lea ecx, [esp + 0x50]
mov esi, dword [eax]
push esi
call fcn.004699b4
mov ecx, 0x4c4654
call fcn.0046f50b
test esi, esi
je 0x4770de
push ecx
mov ecx, esi
call fcn.00469a1f
cmp dword [esp + 0x58], 0
mov dword [0x4c5184], 0
je 0x410340
lea eax, [esp + 0x54]
push eax
mov ecx, ebx
call fcn.00402167
mov esi, eax
test esi, esi
je 0x410340
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 1
call fcn.00414770
mov eax, dword [esp + 0x50]
push 0x4b20bc
lea ecx, [esp + 0xd0]
mov dword [esp + 0x40], 1
mov dword [esp + 0x34], eax
call fcn.0040c317
push 2
push 1
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.0040f0f8
lea ecx, [esp + 0xcc]
call fcn.00409de3
lea ecx, [esp + 0x30]
call fcn.00414770
mov eax, dword [esp + 0x64]
push 0x4b20d4
lea ecx, [esp + 0xc0]
mov dword [esp + 0x40], 7
mov dword [esp + 0x34], eax
call fcn.0040c317
push 2
push 1
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.0040f0f8
lea ecx, [esp + 0xbc]
call fcn.00409de3
lea ecx, [esp + 0x30]
call fcn.00414770
mov eax, dword [esp + 0x68]
push 0x4b20f4
lea ecx, [esp + 0xa0]
mov dword [esp + 0x40], 7
mov dword [esp + 0x34], eax
call fcn.0040c317
push 2
push 1
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.0040f0f8
lea ecx, [esp + 0x9c]
call fcn.00409de3
mov byte [ebx + 0x484], 1
mov eax, dword [esi + 0x10]
push 0
push 1
inc eax
push eax
mov ecx, ebx
call fcn.0041ec97
lea ecx, [esp + 0x30]
mov byte [ebx + 0x484], 0
call fcn.00414770
lea ecx, [esp + 0x50]
call fcn.00448338
jmp case.default.0x4775b6
cmp dword [0x4c4794], 0
jne 0x47725f
cmp dword [0x4c5184], 0x64
jge 0x47725f
inc dword [0x4c5184]
push 0
call dword [0x490170]
jmp 0x41035a
push 0xa
call dword [0x490170]
jmp 0x41035a
cmp byte [ebx + 0x485], 1
je 0x410393
lea ecx, [esp + 0x54]
call fcn.0040e5a2
lea eax, [esp + 0x50]
push eax
mov ecx, 0x4c4708
call fcn.004485e6
test al, al
je 0x477363
cmp dword [esp + 0x58], 0
je 0x477282
lea eax, [esp + 0x54]
push eax
mov ecx, ebx
call fcn.00402167
mov esi, eax
test esi, esi
je 0x477282
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 1
call fcn.00414770
mov eax, dword [esp + 0x50]
push 0x4b2114
lea ecx, [esp + 0xb0]
mov dword [esp + 0x98], 1
mov dword [esp + 0x8c], eax
call fcn.0040c317
push 2
push 1
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.0040f0f8
lea ecx, [esp + 0xac]
call fcn.00409de3
mov byte [ebx + 0x485], 1
mov eax, dword [esi + 0x10]
push 0
push 1
inc eax
push eax
mov ecx, ebx
call fcn.0041ec97
lea ecx, [esp + 0x88]
mov byte [ebx + 0x485], 0
call fcn.00414770
lea ecx, [esp + 0x50]
call fcn.00448338
jmp case.default.0x4775b6
lea ecx, [esp + 0x54]
call fcn.00409de3
jmp 0x410393
push 0xa
push dword [ebx + 0x470]
call dword [0x49024c]
mov dword [esp + 0x74], eax
cmp eax, 0x102
je case.default.0x4775b6
lea eax, [esp + 0x74]
push eax
push dword [ebx + 0x470]
call dword [0x490270]
push dword [ebx + 0x470]
call dword [0x49030c]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
jmp 0x4773ce
push eax
call dword [0x49030c]
mov dword [ebx + 0x474], 0
mov dword [esp + 0x10], 0
push ecx
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00405b9c
mov byte [ebx + 0x148], 1
mov dword [ebx + 0xfc], 0
jmp case.default.0x4775b6
lea ecx, [ebx + 0x16c]
call fcn.0046106a
mov ecx, eax
call fcn.0045f5cb
test al, al
jne 0x47742b
movsx eax, word [edi + 0xa]
push eax
push 0xa7
mov ecx, ebx
call fcn.0044fb4b
lea ecx, [esp + 0x20]
call fcn.00416630
jmp case.default.0x4775b6
lea ecx, [ebx + 0x16c]
call fcn.0046106a
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
push esi
mov ecx, ebx
call fcn.004608ce
jmp 0x41054a
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
push esi
mov ecx, ebx
call fcn.00411a50
jmp 0x41054a
movsx eax, word [eax + 0xa]
push eax
push 0x72
mov ecx, ebx
call fcn.0044fb4b
lea ecx, [esp + 0x20]
call fcn.00416630
jmp case.default.0x4775b6
push dword [esi]
call fcn.0042346e
add esp, 4
push dword [esi + 0xc]
call fcn.0042346e
add esp, 4
jmp 0x410598
add ecx, 0xfffffffb
cmp ecx, 0xa
ja case.0x4774ac.6
jmp dword [ecx*4 + 0x477854]
test edx, edx
je case.0x4774ac.6
push edx
call dword [0x49044c]
push dword [esp + 0x20]
call fcn.0042346e
add esp, 4
jmp case.0x4774ac.6
test edx, edx
je case.0x4774ac.6
push ecx
mov ecx, edx
call fcn.0044d00d
jmp case.0x4774ac.6
lea ecx, [esp + 0x20]
call fcn.004217f5
jmp case.0x4774ac.6
push dword [edx + 4]
call fcn.0042346e
add esp, 4
push dword [esp + 0x20]
call fcn.0042346e
add esp, 4
jmp case.0x4774ac.6
test edx, edx
je case.0x4774ac.6
push ecx
mov ecx, edx
call fcn.00403341
jmp case.0x4774ac.6
test edx, edx
je case.0x4774ac.6
push ecx
mov ecx, edx
call fcn.0043d6f8
jmp case.0x4774ac.6
test edx, edx
je case.0x4774ac.6
push ecx
mov ecx, edx
call fcn.00404623
jmp case.0x4774ac.6
mov dword [ebx + 0xfc], 1
jmp case.default.0x4775b6
push 0xa
call dword [0x490170]
cmp dword [ebx + 0x310], 0
je 0x4775a4
mov ecx, dword [ebx + 0x318]
call fcn.00421708
test edx, edx
jl 0x4775a4
jg 0x47758a
cmp eax, dword [ebx + 0x310]
jb 0x4775a4
cmp dword [ebx + 0xfc], 2
je 0x4773e0
mov dword [esp + 0x10], 0
jmp 0x4773ce
mov eax, dword [ebx + 0xfc]
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x4775b6
jmp dword [eax*4 + 0x477880]
mov ecx, ebx
call fcn.004698b2
jmp 0x4775ef
mov ecx, ebx
call fcn.004698b2
jmp 0x4775d8
push 1
mov ecx, ebx
call fcn.0040122b
mov esi, eax
test esi, esi
js 0x4775f5
jg case.default.0x4775b6
jmp 0x47762e
push 1
mov ecx, ebx
call fcn.0040122b
mov esi, eax
test esi, esi
jns 0x477624
mov eax, esi
neg eax
push 0
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00421f13
push ecx
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx]
mov dword [esp + 0x18], 0
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00405b9c
test esi, esi
je case.default.0x4775b6
test esi, esi
jle 0x47769b
mov eax, dword [ebx + 0xfc]
cmp eax, 5
je 0x47763e
cmp eax, 3
jne 0x47769b
mov eax, dword [ebx + 0x1f8]
lea ecx, [esp + 0x78]
mov esi, dword [eax]
mov dword [esp + 0x78], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 1
call fcn.00414770
push 0
lea eax, [esp + 0x7c]
push eax
mov eax, dword [ebx]
mov dword [esp + 0x8c], 7
mov ecx, dword [eax + 4]
add ecx, ebx
mov dword [esp + 0x80], esi
call fcn.0045f6fd
lea ecx, [esp + 0x78]
call fcn.00414770
mov ecx, dword [ebx + 0x314]
mov byte [ebx + 0x148], 1
mov dword [ebx + 0xfc], 0
call fcn.0044b34c
jmp case.default.0x4775b6
push 0xa
call dword [0x490170]
cmp dword [ebx + 0x468], 0
je 0x4776f9
mov ecx, dword [ebx + 0x46c]
call fcn.00421708
test edx, edx
jl 0x4776f9
jg 0x4776e6
cmp eax, dword [ebx + 0x468]
jb 0x4776f9
mov eax, dword [ebx + 0x474]
test eax, eax
je 0x4773c6
jmp 0x4773b5
mov eax, dword [ebx + 0xfc]
xor esi, esi
mov byte [esp + 0xf], 0
mov dword [esp + 0x10], esi
cmp eax, 8
jne 0x477737
mov ecx, dword [ebx + 0x458]
lea eax, [esp + 0xf]
push eax
lea edx, [esp + 0x14]
call fcn.00449e3d
add esp, 4
cmp byte [esp + 0xf], 1
jne case.default.0x4775b6
mov esi, dword [esp + 0x10]
jmp 0x477740
cmp eax, 9
jne case.default.0x4775b6
mov ecx, dword [ebx + 0x474]
mov eax, 0xcccccccc
mov dword [esp + 0x44], eax
test ecx, ecx
je 0x477799
lea eax, [esp + 0x44]
push eax
push ecx
call dword [0x490270]
cmp dword [esp + 0x44], 0x103
jne 0x47777f
push 0
push dword [ebx + 0x474]
call dword [0x49024c]
test eax, eax
jne case.default.0x4775b6
push dword [ebx + 0x474]
call dword [0x49030c]
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x474], 0
cmp dword [ebx + 0xfc], 8
jne 0x4777cc
mov dword [esp + 0x10], esi
fild dword [esp + 0x10]
test esi, esi
jns 0x4777b4
fadd qword [0x4b9a10]
push ecx
fstp qword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00461b8f
jmp 0x4777db
push 0
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.004066e8
push dword [ebx + 0x314]
mov byte [ebx + 0x148], 1
mov dword [ebx + 0xfc], 0
call dword [0x490170]
jmp case.default.0x4775b6
push ecx
lea eax, [esp + 0x50]
push eax
mov eax, dword [ebx]
mov dword [esp + 0x54], 0
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00405b9c
jmp 0x410487
lea eax, [esp + 0xdc]
push eax
call dword [0x4906d4]
lea eax, [esp + 0xdc]
push eax
call dword [0x4906d0]
push 0
push 0
push 0
lea eax, [esp + 0xe8]
push eax
call esi
test eax, eax
jg 0x47781c
jmp 0x4104a4