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

Disassembly:
sub esp, 0x74
push ebp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
xor edi, edi
xor ebp, ebp
call dword [eax + 0x84]
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx + 0x22c]
mov dword [esp + 0x10], eax
test byte [edx + 0x74], 0x20
mov dword [esp + 0x18], edi
jne 0x481407
mov eax, dword [esi + 0x105c]
test ah, 8
je 0x481407
mov ecx, esi
call fcn.0047f200
and dword [esi + 0x105c], 0xfffff7ff
mov eax, dword [esi + 0x688]
imul eax, eax, 0x38
cmp dword [eax + 0x611b00], edi
jne 0x4815c4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x84]
test eax, eax
je 0x481448
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x84]
mov ecx, dword [eax + 0x24]
cmp dword [ecx], 5
jne 0x481448
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x84]
mov ebp, eax
mov ecx, esi
call fcn.004783f0
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.00478450
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.004784c0
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.00478530
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.004785d0
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], edi
push ebx
jmp 0x481490
mov eax, dword [0x62f390]
mov ecx, dword [eax + 4]
imul ecx, dword [esp + 0x10]
add ecx, dword [esi + 0x6a0]
mov edx, dword [eax + 8]
cmp dword [edx + ecx*4], 0xffffffff
je case.0x4814bd.1
mov eax, dword [esp + 0x10]
cmp eax, 0x1a
ja case.0x4814bd.1
jmp dword [eax*4 + 0x481a44]
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, edi
sete al
cmp eax, edi
je case.0x4814bd.1
jmp case.0x481511.11
push 1
mov ecx, esi
call fcn.004776b0
test eax, eax
je case.0x4814bd.1
mov ebx, dword [esi + 0x105c]
test bl, 1
je case.0x4814bd.1
mov eax, dword [esi + 0x6a0]
add eax, 0xfffffff8
cmp eax, 0x19
ja case.0x481511.11
movzx ecx, byte [eax + 0x481ac4]
jmp dword [ecx*4 + 0x481ab0]
mov edi, dword [esi + 0x6cc]
test edi, edi
je 0x48156f
mov ecx, edi
call fcn.00403f50
test eax, eax
je 0x48156f
mov ebp, dword [edi + 8]
push 1
push 0
or ebx, 0x800
push edi
mov ecx, esi
mov dword [esi + 0x105c], ebx
call fcn.0047f3a0
mov eax, dword [0x62fe00]
test eax, eax
je 0x481569
mov edx, dword [esi + 8]
lea ecx, [esp + 0x3c]
push ecx
push 0x1f
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebp
call dword [eax + 8]
add esp, 8
xor ebp, ebp
mov dword [esp + 0x18], ebp
xor edi, edi
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.004781a0
cmp dword [esp + 0x1c], edi
je case.0x4814bd.1
mov ecx, esi
call fcn.0040a240
test eax, eax
jne 0x4815ad
mov eax, dword [ebp + 0x24]
cmp dword [eax], 5
jne 0x4815ad
mov eax, dword [eax + 0xc0]
cmp eax, 0xb
je 0x4815a6
cmp eax, 0xc
jne 0x4815ad
mov ecx, esi
call fcn.00404d20
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x1b
mov dword [esp + 0x10], eax
jl 0x481490
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x74
ret
cmp ebp, edi
je 0x4815dc
mov ecx, ebp
call fcn.0049ff40
mov dword [esi + 0xdc4], edi
mov dword [esp + 0x1c], 1
jmp case.0x481511.11
mov eax, dword [esp + 0x14]
cmp eax, edi
je case.0x481511.11
mov edx, eax
mov eax, dword [edx + 0x24]
cmp dword [eax], 9
jne case.0x481511.11
push edi
push 1
push esi
push esi
mov ecx, edx
call fcn.0049e230
jmp case.0x481511.11
mov ecx, esi
call fcn.00474210
jmp case.0x481511.11
mov eax, dword [esp + 0x18]
jmp 0x4814cf
cmp ebp, edi
je case.0x4814bd.1
mov ecx, ebp
call fcn.0049d350
test eax, eax
je case.0x4814bd.1
mov ecx, ebp
call fcn.0049d1e0
test eax, eax
jbe case.0x4814bd.1
mov edx, dword [ebp]
push edi
mov ecx, ebp
call dword [edx + 0x44]
test eax, eax
je case.0x4814bd.1
cmp dword [ebp + 0x68], edi
je case.0x4814bd.1
jmp case.0x481511.11
cmp ebp, edi
je case.0x4814bd.1
mov ecx, ebp
call fcn.0049d350
test eax, eax
je case.0x4814bd.1
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x5c]
cmp eax, 1
mov eax, dword [ebp + 0x68]
jne 0x4816cd
cmp eax, edi
je 0x4816d6
mov ecx, ebp
call fcn.0049d380
cmp eax, 1
jne case.0x4814bd.1
mov ecx, ebp
call fcn.0049d3d0
test eax, eax
jne case.0x4814bd.1
mov ecx, ebp
call fcn.0049a4d0
test eax, eax
je case.0x4814bd.1
mov ecx, ebp
call fcn.0049a4c0
cmp eax, 0xbb8
jbe case.0x4814bd.1
jmp 0x4816d6
cmp eax, 1
jne case.0x4814bd.1
mov ecx, ebp
call fcn.0049d350
test eax, eax
je case.0x4814bd.1
mov ecx, ebp
call fcn.0049d1e0
test eax, eax
jbe case.0x4814bd.1
mov edx, dword [ebp]
push edi
mov ecx, ebp
call dword [edx + 0x44]
test eax, eax
je case.0x4814bd.1
jmp case.0x481511.11
cmp ebp, edi
je case.0x4814bd.1
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x5c]
test eax, eax
je case.0x4814bd.1
cmp dword [ebp + 0x68], edi
je case.0x4814bd.1
mov ecx, ebp
call fcn.0049d940
test eax, eax
jne case.0x4814bd.1
mov ecx, dword [ebp + 0x4c]
push ecx
mov ecx, dword [0x6800ec]
call fcn.004b35d0
jmp case.0x481511.11
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x5c]
test eax, eax
je 0x48176e
mov eax, dword [esi + 0x488]
cmp dword [eax + 0x3e8], edi
jne case.0x4814bd.1
cmp ebp, edi
je case.0x4814bd.1
mov ecx, ebp
call fcn.0049d940
test eax, eax
je case.0x4814bd.1
mov ecx, ebp
call fcn.0049d980
test eax, eax
je case.0x4814bd.1
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x5c]
test eax, eax
je 0x4817ab
cmp dword [ebp + 0x68], edi
je 0x4817ab
cmp dword [ebp + 0x74], edi
je 0x4817c8
mov eax, dword [esi + 0xdc4]
cmp eax, edi
jbe case.0x4814bd.1
mov ecx, dword [0x680098]
cmp dword [ecx + 0x10], eax
jbe case.0x4814bd.1
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.00401470
mov eax, dword [ebp + 0x4c]
mov edx, dword [ebp + 0x40]
push 7
push eax
push 0x43480000
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [0x6800ec]
push 2
push edx
call fcn.004b5870
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x70], 0x1f4
mov dword [esp + 0x78], esi
mov ecx, dword [eax + 0x398]
lea edx, [esp + 0x60]
mov dword [esp + 0x74], ecx
push edx
mov ecx, esi
mov dword [esp + 0x70], edi
call fcn.00496710
mov ecx, esi
call fcn.00406950
jmp case.0x481511.11
cmp ebp, edi
je case.0x4814bd.1
mov ecx, ebp
call fcn.00403fa0
test eax, eax
je case.0x4814bd.1
cmp dword [ebp + 0x68], edi
je case.0x4814bd.1
mov eax, dword [esi + 0x688]
cmp eax, 0x30
je case.0x4814bd.1
imul eax, eax, 0x38
cmp dword [eax + 0x611b20], edi
je case.0x4814bd.1
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.00401470
mov edx, dword [ebp + 0x40]
push 7
push edi
push 0x43480000
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [0x6800ec]
push edi
push edx
call fcn.004b5870
jmp case.0x481511.11
cmp dword [esp + 0x24], edi
jne case.0x481511.11
cmp dword [esp + 0x28], edi
je case.0x4814bd.1
jmp case.0x481511.11
mov eax, dword [esp + 0x20]
jmp 0x4814cf
mov ecx, dword [esp + 0x20]
xor eax, eax
jmp 0x4814ca
cmp dword [esp + 0x24], edi
jne case.0x4814bd.1
cmp dword [esp + 0x28], edi
jne case.0x4814bd.1
jmp case.0x481511.11
mov eax, dword [esp + 0x2c]
jmp 0x4814cf
mov ecx, dword [esp + 0x2c]
xor eax, eax
jmp 0x4814ca
cmp ebp, edi
je case.0x4814bd.1
mov ecx, ebp
call fcn.00403f50
test eax, eax
je case.0x4814bd.1
mov ecx, ebp
call fcn.0049d1e0
test eax, eax
je case.0x481511.11
jmp case.0x4814bd.1
mov ecx, esi
call fcn.00478580
jmp 0x4814cf
mov eax, dword [esi + 0x688]
imul eax, eax, 0x38
mov edx, dword [eax + 0x611b20]
xor ecx, ecx
cmp edx, edi
sete cl
mov eax, ecx
jmp 0x4814cf
mov edx, dword [esi + 0x688]
imul edx, edx, 0x38
mov ecx, dword [edx + 0x611b20]
xor eax, eax
cmp ecx, edi
setne al
jmp 0x4814cf
mov ecx, esi
call fcn.00478630
test eax, eax
je case.0x4814bd.1
mov eax, dword [esi + 0x688]
imul eax, eax, 0x38
cmp dword [eax + 0x611b20], edi
je case.0x4814bd.1
mov eax, dword [0x680098]
mov ecx, dword [esi + 0xefc]
mov edx, dword [eax + 0x10]
add ecx, 0x2710
cmp ecx, edx
jae case.0x4814bd.1
lea eax, [esp + 0x54]
push eax
mov ecx, esi
mov dword [esi + 0xefc], edx
call fcn.00401470
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x84]
mov edx, dword [eax + 0x40]
push 7
push edi
push 0x447a0000
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [0x6800ec]
push 0x17
push edx
call fcn.004b5870
jmp case.0x481511.11
mov ecx, esi
call fcn.00478630
test eax, eax
je case.0x481511.11
mov eax, dword [esi + 0x688]
imul eax, eax, 0x38
cmp dword [eax + 0x611b20], edi
mov eax, dword [0x680098]
je 0x481a36
mov ecx, dword [esi + 0xefc]
mov edx, dword [eax + 0x10]
add ecx, 0x2710
cmp ecx, edx
jae case.0x4814bd.1
mov edx, dword [eax + 0x10]
mov dword [esi + 0xefc], edx
jmp case.0x481511.11