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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x494d85
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x495534
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 8]
add eax, 0x38
xor ecx, ecx
mov edx, 8
call fcn.00403768
mov eax, dword [ebp - 8]
mov dword [eax + 0x30], 0xffffffff
mov dword [eax + 0x34], 0xffffffff
mov eax, dword [ebp - 8]
add eax, 0x14
call fcn.00404cb8
mov eax, dword [ebp - 8]
add eax, 0x18
call fcn.00404cb8
mov eax, dword [ebp - 8]
add eax, 0x50
call fcn.00404cb8
mov eax, dword [ebp - 8]
mov byte [eax + 0x10], 0
lea eax, [ebp - 0x1c]
mov ecx, esi
mov edx, 0x495550
call fcn.00404fd0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00494240
xor edx, edx
push ebp
push 0x49550a
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
call fcn.00404cb8
mov dl, 1
mov eax, dword [0x493e90]
call fcn.00493920
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x495458
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x14]
add eax, 0x58
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x70]
call fcn.00404d0c
mov eax, dword [ebp - 8]
cmp word [eax + 0x5a], 0
je 0x494e81
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x80]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov dword [eax + 0x1b0], edx
mov edx, dword [ebp - 8]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x28], 0x496328
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov dword [eax + 0x7c], edx
mov dword [eax + 0x78], 0x49635c
mov eax, dword [ebp - 8]
movzx ebx, byte [eax + 0x28]
test bl, bl
je 0x494ee6
mov eax, dword [ebp - 8]
push dword [eax + 0x24]
push dword [eax + 0x20]
lea eax, [ebp - 0x24]
call fcn.00409610
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x495570
call fcn.00404fd0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.004941e4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x68], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x20]
mov dword [eax + 0x40], ecx
mov ecx, dword [edx + 0x24]
mov dword [eax + 0x44], ecx
mov edx, esi
mov eax, dword [ebp - 0x14]
call fcn.00496cac
test al, al
jne 0x494f30
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x494f13
mov edx, dword [eax + 0x1bc]
mov eax, dword [ebp - 8]
call fcn.00494174
jmp 0x494f21
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x54]
mov eax, dword [ebp - 8]
call fcn.00494174
call fcn.0040478c
call fcn.0040478c
jmp 0x495511
push 0x49558c
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x50]
call fcn.00409524
push dword [ebp - 0x2c]
push 0x4955a8
mov eax, dword [ebp - 0x14]
push dword [eax + 0x54]
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.0040504c
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004941e4
mov byte [ebp - 0x15], 0
test bl, bl
je 0x495187
mov edx, 0x4955b4
mov eax, dword [ebp - 8]
call fcn.004941e4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x50]
mov edx, eax
sub edx, 0xc8
je 0x494fc2
sub edx, 6
je 0x494fc2
add edx, 0xffffffa1
sub edx, 3
jb 0x495187
sub edx, 0x70
jne 0x495183
mov byte [ebp - 0x15], 1
mov edx, 0x4955e8
mov eax, dword [ebp - 8]
call fcn.004941e4
jmp 0x495187
cmp eax, 0xc8
jne 0x494fda
mov byte [ebp - 0x15], 1
mov edx, 0x495614
mov eax, dword [ebp - 8]
call fcn.004941e4
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0xa4], 0
jne 0x494ff7
mov byte [ebp - 0x15], 1
mov edx, 0x495654
mov eax, dword [ebp - 8]
call fcn.004941e4
mov eax, dword [ebp - 0x14]
push dword [eax + 0x84]
push dword [eax + 0x80]
lea eax, [ebp - 0x34]
call fcn.00409610
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x495698
call fcn.00404fd0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
call fcn.004941e4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x8c]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
call fcn.004050e0
je 0x495079
mov byte [ebp - 0x15], 1
push 0x4956b8
mov eax, dword [ebp - 8]
push dword [eax + 0xc]
push 0x4956e0
mov eax, dword [ebp - 0x14]
push dword [eax + 0x8c]
push 0x4956ec
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.0040504c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
call fcn.004941e4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x9c], 0xffffffff
jne 0x49508c
cmp dword [eax + 0x98], 0xffffffff
je 0x495107
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x9c]
mov eax, dword [eax + 0x98]
mov ecx, dword [ebp - 8]
cmp edx, dword [ecx + 0x24]
jne 0x4950ac
cmp eax, dword [ecx + 0x20]
ja 0x495107
jmp 0x4950ae
jg 0x495107
mov byte [ebp - 0x15], 1
push 0x495704
mov eax, dword [ebp - 8]
push dword [eax + 0x24]
push dword [eax + 0x20]
lea eax, [ebp - 0x40]
call fcn.00409610
push dword [ebp - 0x40]
push 0x495730
mov eax, dword [ebp - 0x14]
push dword [eax + 0x9c]
push dword [eax + 0x98]
lea eax, [ebp - 0x44]
call fcn.00409610
push dword [ebp - 0x44]
push 0x4956ec
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.0040504c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
call fcn.004941e4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x88]
lea eax, [ebp - 0x48]
mov edx, 0x495740
call fcn.00404fd0
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 8]
call fcn.004941e4
mov eax, dword [ebp - 8]
cmp byte [eax + 0x78], 0
jne 0x495187
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x88]
call fcn.004050e0
je 0x495187
mov byte [ebp - 0x15], 1
push 0x495760
mov eax, dword [ebp - 0x14]
push dword [eax + 0x88]
push 0x495788
mov eax, dword [ebp - 8]
push dword [eax + 8]
push 0x495798
lea eax, [ebp - 0x4c]
mov edx, 5
call fcn.0040504c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 8]
call fcn.004941e4
jmp 0x495187
mov byte [ebp - 0x15], 1
cmp byte [ebp - 0x15], 0
je 0x495221
mov edx, 0x4957b0
mov eax, dword [ebp - 8]
call fcn.004941e4
xor ebx, ebx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + 0x68], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x10]
mov edx, esi
mov eax, dword [ebp - 0x14]
call fcn.00496cac
test al, al
jne 0x4951e6
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x14]
call fcn.004968ec
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 8]
call fcn.00494174
call fcn.0040478c
call fcn.0040478c
jmp 0x495511
push 0x49558c
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x50]
call fcn.00409524
push dword [ebp - 0x58]
push 0x4955a8
mov eax, dword [ebp - 0x14]
push dword [eax + 0x54]
lea eax, [ebp - 0x54]
mov edx, 4
call fcn.0040504c
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.004941e4
jmp 0x49522e
mov edx, 0x4957d0
mov eax, dword [ebp - 8]
call fcn.004941e4
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 0x50]
mov eax, esi
sub eax, 0xc8
je 0x495287
sub eax, 4
je 0x495258
sub eax, 2
je 0x495287
add eax, 0xffffffa1
sub eax, 3
jb 0x4953bf
jmp 0x4953fe
mov edx, 0x4957e8
mov eax, dword [ebp - 8]
call fcn.004941e4
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0041b970
mov eax, dword [ebp - 8]
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
jmp 0x495442
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x98]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 0x9c]
mov dword [eax + 0x34], ecx
mov eax, dword [ebp - 8]
add eax, 0x18
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x8c]
call fcn.00404d0c
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x8c]
lea eax, [ebp - 0x5c]
mov edx, 0x495810
call fcn.00404fd0
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 8]
call fcn.004941e4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x90]
mov dword [eax + 0x38], ecx
mov ecx, dword [edx + 0x94]
mov dword [eax + 0x3c], ecx
mov eax, dword [ebp - 8]
add eax, 0x14
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x88]
call fcn.00404d0c
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
lea eax, [ebp - 0x60]
mov edx, 0x49582c
call fcn.00404fd0
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 8]
call fcn.004941e4
test bl, bl
jne 0x49534c
mov edx, 0x495848
mov eax, dword [ebp - 8]
call fcn.004941e4
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0041b970
mov eax, dword [ebp - 8]
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov eax, dword [ebp - 8]
cmp byte [eax + 0x4c], 0
je 0x495371
mov edx, 0x495870
mov eax, dword [ebp - 8]
call fcn.00494174
call fcn.0040478c
call fcn.0040478c
jmp 0x495511
mov edx, 0x495884
mov eax, dword [ebp - 8]
call fcn.004941e4
mov eax, dword [ebp - 8]
mov byte [eax + 0x10], 1
mov eax, dword [ebp - 0x14]
call fcn.0049694c
test al, al
je 0x49539a
mov byte [ebp - 0xd], 1
jmp 0x495442
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x14]
call fcn.004968ec
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 8]
call fcn.00494174
call fcn.0040478c
call fcn.0040478c
jmp 0x495511
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xa0], 0
jne 0x4953e7
mov edx, 0x4958a4
mov eax, dword [ebp - 8]
call fcn.00494174
call fcn.0040478c
call fcn.0040478c
jmp 0x495511
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0xa0]
call fcn.00404d50
mov byte [ebp - 0xd], 1
jmp 0x495442
push 0x4958c4
lea edx, [ebp - 0x6c]
mov eax, esi
call fcn.00409524
push dword [ebp - 0x6c]
push 0x4958e4
mov eax, dword [ebp - 0x14]
push dword [eax + 0x54]
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.0040504c
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 8]
call fcn.00494174
call fcn.0040478c
call fcn.0040478c
jmp 0x495511
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49545f
mov eax, dword [ebp - 0x14]
call fcn.00403e6c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49553b
lea eax, [ebp - 0x78]
mov edx, 0x18
call fcn.00404cdc
lea eax, [ebp - 4]
call fcn.00404cb8
ret