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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x4b6ff7
sub esp, 0xa8
mov eax, dword [esp + 0xac]
mov ecx, dword [eax]
test ecx, ecx
je 0x4b6f0a
mov ecx, dword [ecx + 0x13c]
test ecx, ecx
je 0x4b6f0a
mov edx, dword [esp + 0xb0]
test edx, edx
jg 0x4b6f03
mov ebx, 0xffffffff
mov dword [esp + 0xa4], ecx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x3c], ebp
xor ebp, ebp
mov dword [esp + 0x38], ebp
xor ebp, ebp
mov dword [esp + 0x34], ebp
xor ebp, ebp
mov dword [esp + 0xa0], ebp
xor esi, esi
mov dword [esp + 0x9c], esi
xor edi, edi
mov dword [esp + 0x98], edi
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4b6792
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x9c], ecx
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa4]
mov ebp, edx
mov edi, ebx
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], esi
test ebx, ebx
je 0x4b6efc
mov dword [esp + 0x24], ebx
mov ebx, dword [eax]
mov ebp, dword [ebx + 0x13c]
movzx esi, byte [ebp + 0x258]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4b6ef5
movzx ebp, byte [ebp + 0x24c]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4b6c46
mov edx, dword [eax]
mov edx, dword [edx + 0x13c]
mov byte [edx + 0x24c], 1
lea edx, [ecx + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], 0x103
mov dword [esp + 8], 0x103
call fcn.00493ce0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp ecx, 1
jne 0x4b6851
cmp byte [eax], 0x2e
jne 0x4b6851
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x24]
jmp 0x4b6745
cmp ecx, 2
jne 0x4b685d
cmp word [eax], 0x2e2e
je 0x4b6810
mov dword [esp + 0x8c], eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0xb4]
test edx, edx
jne 0x4b6982
mov ebx, dword [esp + 0x2c]
lea ebp, [ebx + 1]
mov esi, dword [esp + 0x34]
cmp ebp, esi
ja 0x4b6933
mov edi, dword [esp + 0x98]
lea edx, [edi + ebx*8 + 4]
mov dword [edx], ecx
mov ecx, dword [0x770e60]
lea edx, [edi + ebx*8]
test ecx, ecx
jne 0x4b6923
mov dword [edx], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x94], eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x98], edi
mov ecx, dword [esp + 0x3c]
mov edi, ebx
mov eax, dword [esp + 0x58]
mov ebx, ebp
mov ebp, esi
mov esi, edx
mov edx, dword [esp + 0x50]
jmp 0x4b6745
mov ecx, edi
mov edi, edx
call fcn.0045df70
mov edi, ecx
jmp 0x4b68a6
lea eax, [0x5beac0]
mov dword [esp], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.004450a0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x2c]
jmp 0x4b6891
nop
lea eax, [0x5e0760]
mov dword [esp], eax
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x14]
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], edx
mov edx, dword [ecx + 0x1c]
mov dword [eax + 0x24], edx
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x28], edx
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [0x770e60]
test edx, edx
jne 0x4b6c31
mov edx, dword [esp + 0x8c]
mov dword [eax], edx
mov edx, dword [esp + 0xac]
mov ebx, dword [edx]
mov ebx, dword [ebx + 0x13c]
mov ebp, dword [ebx + 0x250]
mov ebx, dword [ebx + 0x254]
mov dword [eax + 0x40], ebx
mov ebx, dword [0x770e60]
test ebx, ebx
jne 0x4b6c1e
mov dword [eax + 0x3c], ebp
mov dword [esp + 0x70], eax
mov byte [eax + 0x50], 1
mov ebx, dword [esp + 0xb4]
cmp ebx, 1
jne 0x4b6b43
mov ebp, dword [esp + 0x28]
lea esi, [ebp + 1]
mov edi, ebx
mov ebx, dword [esp + 0x38]
cmp ebx, esi
jb 0x4b6ae6
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x80]
lea edx, [ecx + ebp*8]
lea ebx, [0x63b71c]
mov dword [edx], ebx
mov edx, dword [0x770e60]
lea ebp, [ecx + ebp*8 + 4]
test edx, edx
jne 0x4b6ad9
mov dword [ebp], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x3c]
mov ebx, ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x88], ecx
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x84], ebp
mov edi, dword [esp + 0x98]
mov ecx, edx
mov edx, esi
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
jmp 0x4b68d6
mov edx, edi
mov edi, ebp
call fcn.0045df70
mov edi, edx
jmp 0x4b6a8e
lea eax, [0x5cc5c0]
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.004450a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [ecx + 1]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xac]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x70]
jmp 0x4b6a67
mov ebp, dword [esp + 0x30]
lea esi, [ebp + 1]
mov edi, ebx
mov ebx, dword [esp + 0x3c]
cmp ebx, esi
jb 0x4b6bc4
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0x78]
lea edx, [ecx + ebp*8]
lea ebx, [0x63bd64]
mov dword [edx], ebx
mov edx, dword [0x770e60]
lea ebp, [ecx + ebp*8 + 4]
test edx, edx
jne 0x4b6bb7
mov dword [ebp], eax
lea ebx, [0x63b71c]
mov eax, dword [esp + 0x3c]
mov edx, esi
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x3c]
jmp 0x4b6aa9
mov edx, edi
mov edi, ebp
call fcn.0045df70
mov edi, edx
jmp 0x4b6b8b
lea eax, [0x5d2a40]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.004450a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [ecx + 1]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xac]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x70]
jmp 0x4b6b67
lea edi, [eax + 0x3c]
mov ebx, eax
mov eax, ebp
call fcn.0045df70
mov eax, ebx
jmp 0x4b6a24
mov edi, eax
mov eax, dword [esp + 0x8c]
call fcn.0045df70
mov eax, edi
jmp 0x4b69f5
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004b5390
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
test eax, eax
jne 0x4b6c7d
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa4]
jmp 0x4b67d4
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x74], ebx
test ecx, ecx
je 0x4b6ddd
lea eax, [0x5d3640]
cmp dword [ecx + 4], eax
jne 0x4b6ddd
cmp dword [edx], 0x12
jne 0x4b6ddd
mov eax, dword [esp + 0xb0]
test eax, eax
jg 0x4b6d40
mov eax, dword [esp + 0x98]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xa8
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x30]
add edx, ebx
test edx, edx
jne 0x4b6cb7
mov eax, dword [0x752b60]
mov ecx, dword [0x752b64]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ecx
add esp, 0xa8
ret
lea eax, [0x5cfda0]
mov dword [esp], eax
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x5ed5d9]
mov dword [eax], ecx
mov ecx, dword [esp + 0xac]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x134]
mov ecx, dword [ecx + 0x138]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x4b6ee2
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x4b6ecd
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xd8], ecx
lea ecx, [0x63a058]
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], eax
add esp, 0xa8
ret
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x74]
call fcn.0045df70
mov eax, ecx
jmp 0x4b6e46
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.0045df70
mov eax, ecx
jmp 0x4b6e27
test edx, edx
jmp 0x4b6cb1
test edx, edx
jmp 0x4b6cb1
mov ebx, edx
jmp 0x4b6703
lea eax, [0x5cfda0]
mov dword [esp], eax
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x5ec0fa]
mov dword [eax], ecx
mov ecx, dword [esp + 0xac]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x134]
mov ecx, dword [ecx + 0x138]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x4b6fe4
mov dword [eax + 8], edx
lea ecx, [0x63a3b4]
mov dword [eax + 0x10], ecx
lea ecx, [0x6021b4]
mov dword [eax + 0x14], ecx
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
lea ecx, [0x63a058]
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], eax
add esp, 0xa8
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.0045df70
mov eax, ecx
jmp 0x4b6f54
call fcn.0045ca10
jmp fcn.004b66b0