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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d8dde
push eax
mov eax, dword [0x5144f8]
mov dword fs:[0], esp
sub esp, 0x394
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [eax - 1]
mov eax, dword [esp + 0x3b0]
cmp eax, ecx
push edi
jg 0x46c38f
mov ecx, dword [0x5144f4]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x2c], edx
mov edx, dword [ecx + eax*4 + 0xc]
lea eax, [ecx + eax*4]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x10]
mov ebx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edi, dword [eax + 0x14]
mov ebp, dword [eax + 0x24]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x20]
mov eax, dword [0x50b848]
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], eax
xor edx, edx
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x3ac], edx
mov dword [esp + 0x40], 1
mov dword [esp + 0x3c], edx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push ecx
push eax
mov ecx, esi
mov byte [esp + 0x3b4], 1
call fcn.0046b430
test edi, edi
je 0x46bbbc
push 0
lea ecx, [esp + 0x9c]
call fcn.0048b740
lea ecx, [esp + 0x98]
mov byte [esp + 0x3ac], 2
call fcn.004b34c5
cmp eax, 1
jne 0x46bc7e
push 0x20
lea ecx, [esp + 0x18]
call fcn.004b489a
lea ecx, [esp + 0x160]
push ecx
lea ecx, [esp + 0x18]
call fcn.004b48af
lea ecx, [esp + 0x160]
mov byte [esp + 0x3ac], 6
call fcn.004b450b
lea ecx, [esp + 0xf4]
mov byte [esp + 0x3ac], 5
call fcn.0040b690
lea ecx, [esp + 0x98]
mov byte [esp + 0x3ac], 1
call fcn.004b3096
mov edx, dword [0x50b848]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x3ac], 7
test eax, eax
je 0x46bbf4
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0046b430
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 8]
neg eax
sbb eax, eax
and eax, ecx
mov dword [esp + 0x1c], eax
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
test ebp, ebp
mov dword [esp + 0x44], 0x44
mov dword [esp + 0x70], 1
mov word [esp + 0x74], 5
je 0x46c045
mov ecx, dword [0x513cc0]
push eax
mov dword [esp + 0x1c], eax
call fcn.004c549c
mov esi, eax
test esi, esi
mov dword [esp + 0x30], esi
je 0x46bcd3
push 0x4df030
mov ecx, esi
call fcn.004b4b8a
test eax, eax
je 0x46bcd3
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xbc]
mov ecx, eax
mov dword [esp + 0x28], ecx
mov eax, dword [ecx + 0xe4]
test eax, eax
je 0x46bcbf
push 1
push 0
lea eax, [esp + 0x20]
push 1
push eax
call fcn.00443d30
jmp 0x46bccd
lea ecx, [esp + 0x160]
mov byte [esp + 0x3ac], 4
call fcn.004b450b
lea ecx, [esp + 0xf4]
mov byte [esp + 0x3ac], 3
call fcn.0040b690
lea ecx, [esp + 0x98]
mov byte [esp + 0x3ac], 1
call fcn.004b3096
jmp 0x46c36a
push 0
lea edx, [esp + 0x1c]
push 1
push edx
call fcn.00443c80
mov esi, eax
test esi, esi
jne 0x46bce6
push 0xffffffffffffffff
push 0
push 0x53eb
call fcn.004bc171
jmp 0x46c359
lea eax, [esp + 0x98]
push eax
push 0x104
call dword [0x4de39c]
mov edi, dword [0x4de3a0]
lea ecx, [esp + 0x19c]
push ecx
push 0
lea edx, [esp + 0xa0]
push 0x50a138
push edx
call edi
lea eax, [esp + 0x2a0]
lea ecx, [esp + 0x98]
push eax
push 0
push 0x50a134
push ecx
call edi
mov edi, dword [0x4de384]
push 0
push 0x80
lea edx, [esp + 0x40]
push 2
push edx
push 3
lea eax, [esp + 0x1b0]
push 0xc0000000
push eax
call edi
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x46bd78
push eax
push 0
push 0x53ef
call fcn.004bc171
push esi
call fcn.004a1a94
add esp, 4
jmp 0x46c359
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push 0
push ecx
push edx
push esi
push ebp
call dword [0x4de378]
push 0
push 0
push 0
push ebp
call dword [0x4de374]
push esi
call fcn.004a1a94
add esp, 4
lea eax, [esp + 0x38]
lea ecx, [esp + 0x2a0]
push 0
push 0x80
push 2
push eax
push 3
push 0xc0000000
push ecx
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x46bde1
push eax
push 0
push 0x53ef
call fcn.004bc171
push ebp
call dword [0x4de3e0]
jmp 0x46c359
mov eax, dword [esp + 0x70]
push 0xfffffffffffffff4
or ah, 1
mov word [esp + 0x78], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebx
call dword [0x4de31c]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0x88], eax
call fcn.004b4694
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x46be42
push 0x20
lea ecx, [esp + 0x14]
call fcn.004b489a
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.004b48af
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x88]
lea eax, [esp + 0x44]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push 0
push 0x200
push 1
push 0
push 0
push edx
push 0
call dword [0x4de354]
test eax, eax
je 0x46c009
call fcn.004ca6ae
mov ecx, dword [eax + 4]
call fcn.004b3b23
mov eax, dword [esp + 0x88]
mov edi, dword [0x4de320]
push 0x2710
push eax
mov byte [esp + 0x3b4], 8
call edi
mov esi, eax
cmp esi, 0x102
jne 0x46bed6
push 0xffffffffffffffff
push 5
push 0x53ea
call fcn.004bc171
cmp eax, 2
je 0x46bed6
mov ecx, dword [esp + 0x88]
push 0x2710
push ecx
call edi
mov esi, eax
cmp esi, 0x102
je 0x46beaa
test esi, esi
jne 0x46bff2
push esi
push ebx
call dword [0x4de388]
test eax, eax
mov dword [esp + 0x18], eax
jle 0x46bfea
inc eax
push eax
call fcn.004a1b7d
add esp, 4
mov esi, eax
push 0
push 0
push 0
push ebx
call dword [0x4de374]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x34]
push 0
push edx
push eax
push esi
push ebx
call dword [0x4de37c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push eax
push esi
mov byte [ecx + esi], 0
call fcn.0042c950
add esp, 0xc
test eax, eax
je 0x46bf4b
push esi
call fcn.004a1a94
mov esi, dword [esp + 0x28]
add esp, 4
mov ecx, dword [esp + 0x30]
call fcn.004c7332
mov ecx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [ecx + 0xe4]
test eax, eax
je 0x46bf87
mov edx, dword [esp + 0x18]
xor ecx, ecx
cmp eax, 2
push 1
sete cl
push ecx
push edx
push esi
mov ecx, edi
call fcn.0045fa70
push esi
call fcn.004a1a94
add esp, 4
jmp 0x46bff2
mov edx, dword [ecx + 0x90]
test edx, edx
je 0x46bf99
mov eax, dword [ecx + 0x104]
jmp 0x46bf9f
mov eax, dword [ecx + 0x220]
dec eax
test edx, edx
lea edx, [eax + eax*2]
je 0x46bfaf
mov ecx, dword [ecx + 0x25c]
jmp 0x46bfb5
mov ecx, dword [ecx + 0x258]
mov ecx, dword [ecx + edx*8]
mov edx, dword [edi + 0x6c]
push edx
mov edx, dword [esp + 0x1c]
push edx
dec ecx
push esi
push eax
push ecx
mov ecx, dword [esp + 0x3c]
push 0
push 0
call fcn.0043f670
push 0
push 0
push 1
mov ecx, edi
call fcn.00454b50
push esi
call fcn.004a1a94
add esp, 4
jmp 0x46bff2
push 0
call dword [0x4de6b0]
mov byte [esp + 0x3ac], 7
call fcn.004ca6ae
mov ecx, dword [eax + 4]
call fcn.004b3b38
jmp 0x46c01a
push 0
push 0
push 0x5b9e
call fcn.0042b9d0
add esp, 0xc
mov esi, dword [0x4de3e0]
push ebp
call esi
push ebx
call esi
mov esi, dword [0x4de3a4]
lea eax, [esp + 0x19c]
push eax
call esi
lea ecx, [esp + 0x2a0]
push ecx
call esi
jmp 0x46c359
push ebx
call fcn.0046b1c0
mov ebp, dword [esp + 0x2c]
add esp, 4
test eax, eax
je 0x46c091
test ebp, ebp
jne 0x46c091
push ebx
lea ecx, [esp + 0x14]
call fcn.004b4694
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
jle 0x46c1fe
push 0x20
lea ecx, [esp + 0x14]
call fcn.004b489a
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.004b48af
jmp 0x46c1fe
mov ecx, dword [0x50ff70]
add ecx, 0xdc
push ecx
lea ecx, [esp + 0x14]
call fcn.004b4644
push 0x50a11c
lea ecx, [esp + 0x14]
call fcn.004b4873
mov eax, dword [esi + 0x188]
test eax, eax
jne 0x46c0f3
push 0x50a110
push 0x7d0
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [0x4de3d8]
test eax, eax
mov dword [esi + 0x188], eax
jne 0x46c0f3
push 0xffffffffffffffff
push eax
push 0x53ec
call fcn.004bc171
jmp 0x46c359
mov eax, dword [esi + 0x178]
test eax, eax
jne 0x46c131
mov edx, dword [esi + 0x188]
push 0
push 0
push 0
push 0xf001f
push edx
call dword [0x4de324]
test eax, eax
mov dword [esi + 0x178], eax
jne 0x46c131
push 0xffffffffffffffff
push eax
push 0x53ec
call fcn.004bc171
jmp 0x46c359
mov eax, dword [esi + 0x178]
push ebx
inc eax
push eax
call dword [0x4de418]
mov ecx, dword [esi + 0x178]
mov edi, dword [0x4de408]
inc ecx
push 0x507e60
push ecx
call edi
mov eax, dword [esi + 0x178]
mov edx, dword [esp + 0x14]
inc eax
push edx
push eax
call edi
mov ecx, dword [esi + 0x178]
push str.COMMENTOFF
inc ecx
push ecx
call edi
test ebp, ebp
je 0x46c1e2
lea edx, [esp + 0x38]
push 0
lea eax, [esp + 0x28]
push edx
lea ecx, [esi + 0x184]
push eax
push ecx
call dword [0x4de328]
test eax, eax
jne 0x46c1a7
push 0xffffffffffffffff
push 0x10
push 0x5b9d
call fcn.004bc171
jmp 0x46c359
mov ecx, dword [esp + 0x70]
push 0xfffffffffffffff6
or ch, 1
mov word [esp + 0x78], 0
mov dword [esp + 0x74], ecx
call dword [0x4de31c]
mov edx, dword [esi + 0x178]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov byte [edx], 1
jmp 0x46c1fe
mov eax, dword [esp + 0x30]
test eax, eax
je 0x46c1f5
mov eax, dword [esi + 0x178]
mov byte [eax], 2
jmp 0x46c1fe
mov ecx, dword [esi + 0x178]
mov byte [ecx], 0
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x88]
lea eax, [esp + 0x44]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push 0
push 0x200
push 1
push 0
push 0
push edx
push 0
call dword [0x4de354]
test ebp, ebp
mov edi, eax
je 0x46c23b
mov eax, dword [esp + 0x24]
push eax
call dword [0x4de3e0]
test edi, edi
je 0x46c348
test ebp, ebp
je 0x46c359
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
lea ebp, [esi + 0xb8]
push ecx
push edx
mov ecx, ebp
call fcn.00469b40
lea eax, [esp + 0x20]
lea ecx, [esi + 0xf4]
push eax
call fcn.004b4644
mov ecx, dword [0x50b848]
mov dword [esp + 0x1c], ecx
push 0x508e28
lea ecx, [esp + 0x20]
mov byte [esp + 0x3b0], 9
call fcn.004b4694
mov edi, dword [esp + 0x2c]
cmp byte [edi], 0
je 0x46c2bb
mov al, byte [edi]
cmp al, 0x26
mov byte [esp + 0x2c], al
je 0x46c2b3
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
push edx
call fcn.004b489a
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x46c29b
push 0x508e1c
lea ecx, [esp + 0x20]
call fcn.004b4873
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.00469e60
mov ecx, dword [0x513cc0]
push 0
push 1
push esi
call fcn.004c73be
mov ecx, dword [0x513cc0]
mov edx, dword [ecx + 0x1c]
push edx
call dword [0x4de738]
mov eax, dword [0x513cc0]
test eax, eax
je 0x46c301
mov eax, dword [eax + 0x1c]
push 0
push 0
push 0
push 0xfffffffffffffffe
push esi
push 0x46b810
mov dword [esi + 0x190], eax
call fcn.004b4f71
mov dword [esi + 0xb4], eax
mov eax, dword [eax + 0x28]
mov dword [esi + 0x18c], eax
call dword [0x4de38c]
lea ecx, [esp + 0x1c]
mov dword [esi + 0x17c], eax
mov byte [esp + 0x3ac], 7
call fcn.004b450b
jmp 0x46c359
push 0
push 0
push 0x5b9e
call fcn.0042b9d0
add esp, 0xc
lea ecx, [esp + 0x20]
mov byte [esp + 0x3ac], 1
call fcn.004b450b
lea ecx, [esp + 0x14]
mov byte [esp + 0x3ac], 0
call fcn.004b450b
lea ecx, [esp + 0x10]
mov dword [esp + 0x3ac], 0xffffffff
call fcn.004b450b
mov ecx, dword [esp + 0x3a4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3a0
ret 4