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

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
push 0x20
mov esi, eax
mov edi, ecx
call fcn.00494940
xor ebx, ebx
add esp, 4
mov ebp, 4
cmp eax, ebx
jne 0x4f4714
xor eax, eax
jmp 0x4f4733
mov dword [eax], 0x3c
mov dword [eax + 4], ebp
mov dword [eax + 0x14], 0xf8
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov dword [esp + 0x88], eax
cmp eax, ebx
jne 0x4f4752
push 1
mov esi, edi
call fcn.004e4a90
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
push 0x14
call fcn.00494940
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x4f4768
xor eax, eax
jmp 0x4f47b6
mov dword [eax], ebx
mov eax, dword [esp + 0x24]
mov dword [eax + 8], 6
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x10], ebx
mov edx, dword [esp + 0x24]
mov dword [edx + 0xc], ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
add ecx, ecx
add ecx, ecx
push ecx
push edx
call fcn.0049c56f
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x2c]
add esp, 8
cmp dword [eax + 0x10], ebx
jne 0x4f47af
xor eax, eax
jmp 0x4f47b6
mov dword [eax + 4], ebp
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x4f47fb
mov eax, dword [esp + 0x88]
mov ebp, eax
mov eax, dword [eax + 0x1c]
cmp eax, ebx
je 0x4f47e1
mov edi, edi
mov esi, dword [eax]
push eax
call fcn.004934fd
add esp, 4
mov eax, esi
cmp esi, ebx
jne 0x4f47d0
push ebp
call fcn.004934fd
push 1
mov esi, edi
call fcn.004e4a90
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
mov edx, dword [edi]
mov eax, 0x40
mov dword [esp + 0x2c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x70], eax
mov eax, dword [edi + 4]
lea ecx, [esp + 0x14]
push esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x88], edx
mov dword [esp + 0x18], 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push edi
mov dword [eax + 0x4c], ecx
call fcn.004e5960
add esp, 8
test eax, eax
je 0x4f4979
push ebp
mov eax, 0x535690
call fcn.004ea540
add esp, 4
cmp eax, 1
jne 0x4f48a3
push esi
push edi
mov dword [esp + 0x1c], ebx
call fcn.004e5110
jmp 0x4f48cc
cmp eax, 2
jne 0x4f48bc
cmp esi, ebx
je 0x4f4965
mov eax, edi
call fcn.004e57f0
jmp 0x4f494d
cmp eax, 3
jne 0x4f48e1
push esi
push edi
mov dword [esp + 0x1c], ebx
call fcn.004f0db0
add esp, 8
test eax, eax
je 0x4f4979
mov dword [esp + 0x14], 1
jmp 0x4f4951
cmp eax, ebp
jne 0x4f48ec
call fcn.004f1de0
jmp 0x4f494d
cmp eax, 5
jne 0x4f48fc
push edi
call fcn.004f4500
add esp, 4
jmp 0x4f494d
cmp eax, 6
jne 0x4f4941
lea edx, [esp + 0x10]
push edx
push edi
call fcn.004f1580
add esp, 8
test eax, eax
jne 0x4f4951
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4f4926
push ebx
push eax
push ebx
call fcn.004e5c00
add esp, 0xc
cmp dword [edi + 0x8c], ebx
jne 0x4f4985
push str.ATTLIST
push 0x12
mov esi, edi
call fcn.004e4a90
add esp, 8
jmp 0x4f4979
cmp eax, 7
jne 0x4f4965
mov eax, edi
call fcn.004f1260
test eax, eax
je 0x4f4979
push esi
push edi
call fcn.004e5960
add esp, 8
test eax, eax
jne 0x4f4883
jmp 0x4f4979
cmp dword [edi + 0x8c], ebx
jne 0x4f4985
xor ecx, ecx
lea edx, [ecx + 3]
mov eax, edi
call fcn.004e4b10
cmp dword [edi + 0x8c], ebx
je 0x4f4a9b
mov eax, dword [esp + 0x24]
cmp dword [eax], ebx
je 0x4f4a57
mov ebp, 0x4e13d0
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 0x4c]
mov edx, dword [edx + 0x10]
mov ecx, dword [edx]
sub ecx, 1
js 0x4f49b8
mov eax, dword [edx]
dec eax
cmp ecx, eax
jg 0x4f49b8
mov eax, dword [edx + 0xc]
imul eax, ecx
add eax, dword [edx + 0x10]
jmp 0x4f49ba
xor eax, eax
mov esi, dword [eax]
mov dword [edi], esi
cmp dword [esi + 0x34], ebp
jne 0x4f49d1
mov ecx, dword [esi + 0x30]
push ecx
call fcn.004934fd
add esp, 4
jmp 0x4f4a07
cmp dword [edi + 0xe8], ebx
je 0x4f4a07
cmp dword [esi + 0x30], ebx
je 0x4f4a07
mov edx, edi
call fcn.004e5670
mov edx, dword [esi + 0x2c]
mov dword [edx + 4], eax
mov eax, dword [edi]
mov edx, dword [edi + 0x98]
push eax
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0xe8]
push ecx
push edx
call eax
add esp, 0xc
mov ecx, dword [edi]
mov eax, dword [ecx + 0x2c]
cmp eax, ebx
je 0x4f4a19
push eax
call fcn.004934fd
add esp, 4
mov esi, dword [edi]
mov eax, dword [esi]
cmp eax, ebx
je 0x4f4a2c
push eax
call fcn.004934fd
add esp, 4
mov dword [esi], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4f4a3f
push eax
call fcn.004934fd
add esp, 4
mov dword [esi + 4], ebx
mov esi, dword [esp + 0x24]
mov edx, dword [esi]
dec edx
call fcn.004e1ee0
mov edx, dword [esp + 0x24]
cmp dword [edx], ebx
jne 0x4f4996
mov esi, dword [edi + 4]
add esi, 0x30
cmp dword [esi + 0xc], ebx
je 0x4f4a6e
mov eax, dword [esi + 0x14]
cmp dword [eax], ebx
jl 0x4f4a93
mov dword [esi + 8], ebx
jmp 0x4f4a93
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
je 0x4f4a93
cmp dword [esi + 8], ebx
je 0x4f4a93
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
cmp eax, dword [esi]
je 0x4f4a93
push eax
push ecx
mov dword [esi], eax
call fcn.0049c56f
add esp, 8
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 0x1c]
mov dword [edi], edx
lea esi, [esp + 0x28]
call fcn.004e1ba0
lea esi, [esp + 0x54]
call fcn.004e1ba0
lea esi, [esp + 0x6c]
call fcn.004e1ba0
mov eax, dword [esp + 0x88]
mov ebp, eax
mov eax, dword [eax + 0x1c]
cmp eax, ebx
je 0x4f4ad7
mov esi, dword [eax]
push eax
call fcn.004934fd
add esp, 4
mov eax, esi
cmp esi, ebx
jne 0x4f4ac6
push ebp
call fcn.004934fd
mov eax, dword [esp + 0x28]
mov esi, eax
mov eax, dword [eax + 0x10]
add esp, 4
cmp eax, ebx
je 0x4f4af6
push eax
call fcn.004934fd
add esp, 4
push esi
call fcn.004934fd
mov eax, dword [edi + 4]
mov dword [eax + 0x4c], ebx
mov ecx, dword [edi + 4]
mov dword [ecx + 0x24], ebx
mov edx, dword [edi + 4]
add esp, 4
mov dword [edx + 0x28], ebx
xor eax, eax
cmp dword [edi + 0x8c], ebx
pop edi
pop esi
pop ebp
sete al
pop ebx
add esp, 0x7c
ret