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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
push ebx
push esi
push edi
xor esi, esi
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x90]
xor eax, eax
mov ebx, dword [edx + 0x14]
xor edx, edx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov edi, dword [ebx + 0xec]
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x4a0124
mov edx, dword [eax + 0x10]
mov dword [ebp - 4], edx
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x14], ecx
mov eax, dword [eax + 0x14]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 0
je 0x4a0134
xor ecx, ecx
mov dword [ebp - 0xc], ecx
jmp 0x4a014e
lea eax, [ebp - 0xc]
push eax
push ebx
mov edx, dword [ebx]
call dword [edx + 0x74]
add esp, 8
mov esi, eax
test esi, esi
je 0x4a014e
mov eax, esi
jmp 0x4a0848
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049fb84
mov dword [ebp - 0x10], eax
mov dword [ebx + 0x170], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [edx + 0x14], ecx
cmp dword [ebp - 0xc], 0
jne 0x4a01ac
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0049a5d4
add esp, 8
test eax, eax
je 0x4a01a2
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x68], edx
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0049a3ac
add esp, 8
jmp 0x4a0830
mov esi, 1
jmp 0x4a0830
mov eax, dword [ebx + 0x16c]
xor edx, edx
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], edx
mov ecx, dword [ebx + 0xe4]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
mov edx, dword [ebx + 0x88]
push edx
call fcn.00428008
pop ecx
mov dword [ebp - 0x34], eax
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp + 8]
cmp word [ecx + 0x70], 0
je 0x4a0202
push 0
call fcn.0046bdd4
pop ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x4a020f
cmp dword [eax + 0x34], 0
je 0x4a021c
xor edx, edx
mov dword [ebx + 0x16c], edx
jmp 0x4a0304
mov ecx, dword [ebx + 0x78]
cmp dword [ecx + 0x24], 0
je 0x4a0234
mov eax, dword [ebx + 0x78]
mov edx, dword [eax + 0x24]
push edx
call fcn.0046c6d8
pop ecx
mov esi, eax
test esi, esi
je 0x4a0244
mov dword [ebp - 0x1c], 1
jmp 0x4a0304
mov eax, dword [ebx + 0x78]
cmp dword [eax + 0x28], 0
jne 0x4a0253
cmp dword [eax + 0x20], 0
jle 0x4a0286
cmp dword [eax + 0x1c], 0
je 0x4a0268
mov edx, dword [ebx + 0x78]
mov ecx, dword [edx + 0x1c]
push ecx
call fcn.0046c6d8
pop ecx
mov esi, eax
test esi, esi
jne 0x4a026e
mov esi, edi
mov eax, dword [ebx + 0x78]
cmp dword [eax + 0x20], 0
jle 0x4a0304
mov edx, dword [ebx + 0x78]
mov ecx, dword [edx + 0x20]
mov dword [ebp - 0x1c], ecx
jmp 0x4a0304
mov eax, dword [ebx + 0x78]
cmp dword [eax + 0x4c], 0
je 0x4a0298
mov dword [ebp - 0x24], 1
jmp 0x4a0304
cmp dword [eax + 0x3c], 0
jne 0x4a02a8
xor edx, edx
mov dword [ebx + 0x16c], edx
jmp 0x4a0304
cmp dword [ebx + 0x16c], 0
je 0x4a0304
mov ecx, dword [ebx + 0x16c]
push ecx
call fcn.0049b774
pop ecx
test eax, eax
je 0x4a0304
mov eax, dword [ebx + 0x16c]
push eax
call fcn.00499d24
pop ecx
mov edx, dword [ebx + 0x16c]
push edx
call fcn.0049d0e8
pop ecx
mov ecx, dword [ebx + 0x16c]
cmp dword [ecx + 0x60], 0
jne 0x4a02f7
mov eax, dword [ebx + 0x16c]
mov edx, dword [eax + 0x84]
mov esi, dword [edx + 4]
mov eax, dword [ebx + 0x16c]
push eax
call fcn.0049b838
pop ecx
mov edx, dword [ebp - 0x10]
mov edi, 0x40
mov dword [edx + 0x1d0], edi
shl edi, 0xa
push edi
call fcn.004699b8
mov edx, dword [ebp - 0x10]
pop ecx
mov dword [edx + 0x1cc], eax
movzx edx, word [ebx + 0xa2]
mov eax, dword [ebp - 0x10]
mov ecx, edx
xor edx, edx
mov eax, dword [eax + 0x1d0]
shl eax, 0xa
div ecx
mov dword [ebp - 0x30], eax
call fcn.00476f84
test eax, eax
jne 0x4a036c
cmp dword [ebp - 0x30], 1
jle 0x4a036c
mov edi, dword [ebx + 0x78]
test edi, edi
je 0x4a0370
cmp dword [edi + 0x34], 0
jne 0x4a0370
cmp dword [ebx + 0x16c], 0
jne 0x4a036c
cmp dword [ebp - 0x24], 0
je 0x4a0370
xor eax, eax
jmp 0x4a0375
mov eax, 1
mov dword [ebp - 0x20], eax
test esi, esi
jne 0x4a038a
cmp dword [ebx + 0x16c], 0
jne 0x4a038a
mov esi, 1
test esi, esi
jne 0x4a0399
push ebx
mov eax, dword [ebx]
call dword [eax + 0x18]
pop ecx
mov esi, eax
jmp 0x4a03bc
push esi
push ebx
mov eax, dword [ebx]
call dword [eax + 0x10]
add esp, 8
mov esi, eax
cmp dword [ebp - 0x24], 0
je 0x4a03bc
test esi, esi
jne 0x4a03bc
push 1
push ebx
mov edx, dword [ebx]
call dword [edx + 0x24]
add esp, 8
mov esi, eax
mov edi, dword [ebx + 0xec]
jmp 0x4a07c6
call fcn.00455a10
test ax, ax
je 0x4a03db
mov esi, 1
jmp 0x4a07d4
cmp dword [ebp - 0x20], 0
je 0x4a052f
cmp edi, dword [ebp - 0xc]
ja 0x4a07d4
cmp dword [ebp - 0x2c], 0
je 0x4a0400
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jl 0x4a04b7
mov eax, dword [ebp - 0xc]
sub eax, edi
cmp eax, dword [ebp - 0x30]
jb 0x4a040f
mov eax, dword [ebp - 0x30]
jmp 0x4a0410
inc eax
cmp dword [ebp - 0x1c], 0
jbe 0x4a0420
mov edx, dword [ebp - 0x1c]
cmp edx, eax
jae 0x4a0420
mov eax, dword [ebp - 0x1c]
movzx edx, word [ebx + 0xa2]
imul edx, eax
mov dword [ebp - 0x40], edx
xor edx, edx
movzx eax, word [ebx + 0xa2]
push edx
push eax
mov eax, edi
dec eax
xor edx, edx
call fcn.004d27e0
push edx
push eax
movzx eax, word [ebx + 0xa0]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x1cc]
push edx
mov ecx, dword [ebx + 0x8c]
push ecx
call fcn.00430148
add esp, 0x14
cmp eax, dword [ebp - 0x40]
je 0x4a04b2
push 0
push 0
call fcn.00432b7c
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x90]
mov ecx, dword [edx]
push ecx
push 0x3f2
push 0x17
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x90]
mov ecx, dword [edx + 0x14]
push ecx
call fcn.004990a4
add esp, 0x1c
jmp 0x4a07d4
xor eax, eax
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x1cc]
movzx eax, word [ebx + 0xa2]
imul dword [ebp - 0x2c]
add ecx, eax
mov dword [ebx + 0xe4], ecx
mov dword [ebx + 0xec], edi
push 0
push ebx
mov edx, dword [ebx]
call dword [edx + 0x54]
add esp, 8
cmp eax, 1
je 0x4a07d4
mov ecx, 1
mov dword [ebx + 0x118], ecx
mov dword [ebx + 0x114], ecx
mov eax, dword [ebx + 0xe4]
cmp byte [eax], 0x2a
sete dl
and edx, 1
mov dword [ebx + 0x124], edx
cmp dword [ebx + 0x7c], 0
je 0x4a052c
push ebx
mov eax, dword [ebx]
call dword [eax + 0xd4]
pop ecx
mov esi, eax
test esi, esi
jne 0x4a07d4
inc dword [ebp - 0x2c]
cmp dword [ebp - 4], 0
je 0x4a054d
push 0
mov eax, dword [ebp - 4]
push eax
push 0
call fcn.004996f4
add esp, 0xc
test eax, eax
je 0x4a07d4
cmp edi, dword [ebp - 0xc]
ja 0x4a074c
cmp dword [ebp - 0x38], 0
je 0x4a0573
push 0
mov edx, dword [ebp - 0x38]
push edx
push ebx
call fcn.004996f4
add esp, 0xc
test eax, eax
je 0x4a074c
mov ecx, dword [ebp + 8]
mov ax, word [ecx + 0x70]
test ax, ax
je 0x4a0591
mov edx, dword [ebp - 0x3c]
push edx
push eax
push ebx
mov ecx, dword [ebx]
call dword [ecx + 0x58]
add esp, 0xc
mov esi, eax
jmp 0x4a05a1
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc]
push edx
call fcn.00452b5c
pop ecx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0046d39c
pop ecx
cmp eax, 0x40
jg 0x4a05d3
je 0x4a0669
sub eax, 2
je 0x4a061f
sub eax, 6
je 0x4a061f
sub eax, 8
je 0x4a061f
sub eax, 0x10
je 0x4a06a6
jmp 0x4a070f
sub eax, 0x80
je 0x4a06d7
sub eax, 0x380
je 0x4a05f1
sub eax, 0x800
je 0x4a05f1
jmp 0x4a070f
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0046c3c8
pop ecx
push eax
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0046c3ac
pop ecx
push eax
mov ecx, dword [ebx + 0xec]
push ecx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0049fb10
add esp, 0x10
jmp 0x4a074c
mov edx, dword [ebp + 8]
mov cx, word [edx + 0x74]
push ecx
lea ecx, [ebp - 0x140]
mov eax, dword [ebp + 8]
mov dx, word [eax + 0x72]
push edx
push ecx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00499164
mov edx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x140]
movzx ecx, word [edx + 0x72]
push ecx
push eax
mov edx, dword [ebx + 0xec]
push edx
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0049fb10
add esp, 0x10
jmp 0x4a074c
mov eax, dword [ebp + 8]
cmp byte [eax + 0x6e], 0x54
jne 0x4a06a6
lea edx, [ebp - 0x140]
push edx
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0046c4ec
add esp, 8
lea eax, [ebp - 0x140]
push 0x11
push eax
mov edx, dword [ebx + 0xec]
push edx
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0049fb10
add esp, 0x10
jmp 0x4a074c
lea eax, [ebp - 0x140]
push eax
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0046c4a4
add esp, 8
lea ecx, [ebp - 0x140]
push 8
push ecx
mov eax, dword [ebx + 0xec]
push eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.0049fb10
add esp, 0x10
jmp 0x4a074c
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0046c58c
pop ecx
test eax, eax
je 0x4a06e9
mov al, 0x54
jmp 0x4a06eb
mov al, 0x46
mov byte [ebp - 0x140], al
lea edx, [ebp - 0x140]
push 1
push edx
mov ecx, dword [ebx + 0xec]
push ecx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0049fb10
add esp, 0x10
jmp 0x4a074c
push 0
push 0
push 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x90]
mov eax, dword [ecx]
push eax
push 0x402
push 0x21
push ebx
call fcn.004990a4
mov eax, dword [ebp + 8]
add esp, 0x1c
xor edx, edx
mov esi, 1
mov dword [eax + 0x48], 1
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
jbe 0x4a0757
dec dword [ebp - 0x1c]
je 0x4a07d4
cmp dword [ebp - 8], 0
je 0x4a078f
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx + 0x18]
cmp eax, dword [ebp - 0x14]
jg 0x4a078c
xor edx, edx
mov dword [ebp - 0x14], edx
push 0
mov ecx, dword [ebp - 8]
push ecx
push ebx
call fcn.004996f4
add esp, 0xc
test eax, eax
jne 0x4a078c
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], 1
jmp 0x4a07d4
inc dword [ebp - 0x14]
cmp dword [ebp - 0x20], 0
je 0x4a0798
inc edi
jmp 0x4a07c6
test esi, esi
jne 0x4a07c6
push 1
push ebx
mov edx, dword [ebx]
call dword [edx + 0x28]
add esp, 8
mov esi, eax
cmp dword [ebp - 0x24], 0
je 0x4a07c0
test esi, esi
jne 0x4a07c0
push 1
push ebx
mov eax, dword [ebx]
call dword [eax + 0x24]
add esp, 8
mov esi, eax
mov edi, dword [ebx + 0xec]
test esi, esi
jne 0x4a07d4
cmp dword [ebx + 0x28], 0
je 0x4a03c7
cmp dword [ebp - 0x20], 0
je 0x4a07fb
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [ebx + 0xe4], eax
mov dword [ebx + 0x114], edx
test esi, esi
jne 0x4a07fb
push edi
push ebx
mov ecx, dword [ebx]
call dword [ecx + 0x10]
add esp, 8
mov esi, eax
test esi, esi
jne 0x4a0809
mov eax, dword [ebp - 0x10]
push eax
call fcn.0049fdc8
pop ecx
mov edx, dword [ebp + 8]
cmp word [edx + 0x70], 0
je 0x4a081d
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0046bf88
pop ecx
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x16c], eax
mov edx, dword [ebp - 0x34]
push edx
call fcn.00428008
pop ecx
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0049fd28
add esp, 8
xor eax, eax
mov dword [ebx + 0x170], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret