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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62fd1e
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x6d45e0]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [0x6d45e0]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 0x14]
mov edi, 0x476230
mov dword [esi + 0xc], ebx
dec ebx
mov ebx, dword [ebp + 0x10]
je 0x4943ab
cmp ebx, 0xffffffff
je 0x49431e
cmp dword [esi + 0x14], 0
jne 0x49431e
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x10]
cmp eax, 0xfffffffe
je 0x494340
cmp eax, 0xffffffff
jne 0x49445a
lea ecx, [esp + 0x2c]
call fcn.00476560
mov ecx, dword [esi + 4]
add ecx, 0x30
jmp 0x49439b
mov edx, dword [esi + 4]
mov ecx, ebx
cmp dword [edx + 0x7c], ebx
mov eax, dword [edx + 0x78]
cmovb ecx, dword [edx + 0x7c]
mov dword [edx + 0x80], eax
mov dword [edx + 0x84], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx + 0x80]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00475f70
mov edx, dword [esi + 4]
mov ecx, dword [eax]
mov dword [edx + 0x80], ecx
lea ecx, [esp + 0x14]
mov eax, dword [eax + 4]
mov dword [edx + 0x84], eax
mov edx, 1
call fcn.0047e2d0
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
add ecx, 8
push eax
call fcn.0047cc20
cmp dword [esi + 0x14], 0
jne 0x494474
cmp dword [esi + 8], 0
lea eax, [esi + 0x14]
mov ecx, dword [esi + 4]
push 0
push eax
push 0
mov eax, 0x476200
mov dword [esi + 0x1c], 0
push 0
cmove eax, edi
push eax
call fcn.00476090
mov dword [esi + 0x10], eax
cmp eax, 0xfffffffe
jne 0x49443a
mov edi, dword [esi + 4]
cmp dword [edi + 0x84], 0
je 0x494599
push dword [edi + 0x84]
push dword [edi + 0x80]
push dword [edi + 4]
call fcn.004fa540
mov ecx, dword [edi + 0x84]
xor ebx, ebx
add esp, 0xc
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jbe 0x494417
xor edx, edx
xor ecx, ecx
jmp 0x494421
mov edx, dword [edi + 0x80]
add edx, ebx
sub ecx, ebx
mov eax, dword [esi + 4]
mov edi, 0x476230
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], ecx
jmp 0x4943a1
cmp eax, 0xffffffff
je 0x4944d7
cmp eax, 1
je 0x4944d7
cmp dword [ebp + 0x14], 0
jne 0x4944b6
mov ebx, dword [ebp + 0x10]
jmp 0x494307
cmp eax, 1
jne 0x494474
lea ecx, [esp + 0x34]
call fcn.00476560
mov ecx, dword [esi + 4]
push eax
add ecx, 0x30
call fcn.0047cc20
mov ecx, dword [esi + 4]
lea eax, [esi + 0x14]
sub esp, 8
push eax
call fcn.00475fc0
add esp, 4
add esi, 0x20
push eax
push esi
call fcn.00499d30
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.004c392d
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push esi
mov dword [esp + 0x24], 0
mov eax, dword [eax + 0x78]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
call fcn.00499bd0
jmp 0x494490
mov edx, 1
lea ecx, [esp + 0x1c]
call fcn.0047e2d0
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x3c]
cmp eax, dword [esp + 0x1c]
jne 0x494559
cmp ecx, dword [esp + 0x20]
jne 0x494559
mov edx, 2
lea ecx, [esp + 0x14]
call fcn.0047e2d0
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
add ecx, 0x30
call fcn.0047cc20
mov edi, dword [esi + 4]
push dword [edi + 0x68]
push dword [edi + 0x64]
push dword [edi + 4]
call fcn.004fa3b0
xor ecx, ecx
lea edx, [esp + 0x28]
add esp, 0xc
test eax, eax
cmovg ecx, eax
mov eax, dword [edi + 0x64]
cmp dword [edi + 0x68], ecx
push esi
cmovb ecx, dword [edi + 0x68]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi]
mov dword [esp + 0x20], eax
call fcn.00499c50
add esp, 4
jmp 0x494490
mov edi, dword [ebx + 0x30]
lea ecx, [esp + 0x9c]
push esi
call fcn.004a0040
lea eax, [esp + 0x9c]
mov dword [esp + 0x108], 0xa
push eax
lea eax, [ebx + 0x38]
push eax
lea ecx, [edi + 0x14]
call fcn.004a9330
lea ecx, [esp + 0xc4]
call fcn.00477300
jmp 0x494490
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push ecx
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], SysStringLen
call fcn.00474150
add esp, 4
lea ecx, [esp + 0x18]
push eax
call fcn.00481340
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
cmp eax, dword [esp + 0x14]
jne 0x494670
cmp ecx, dword [esp + 0x18]
jne 0x494670
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0xffffffff
push eax
push ecx
push 2
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], SysStringLen
call fcn.00474150
add esp, 4
lea ecx, [esp + 0x28]
push eax
call fcn.00481340
mov ecx, dword [esi + 4]
lea eax, [esp + 0x24]
push eax
add ecx, 8
call fcn.0047cc20
mov ecx, dword [esi + 4]
mov edi, dword [esi]
push esi
mov eax, dword [ecx + 0x78]
mov ebx, dword [edi + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x7c]
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], eax
call fcn.004a0040
lea eax, [esp + 0x44]
mov dword [esp + 0x108], 8
push eax
push 0
lea eax, [esp + 0x1c]
push eax
push edi
lea ecx, [ebx + 0x14]
call fcn.004a9200
lea ecx, [esp + 0x6c]
call fcn.00477300
jmp 0x494490
mov edi, dword [ebx + 8]
lea ecx, [esp + 0x44]
push esi
call fcn.004a0040
lea eax, [esp + 0x44]
mov dword [esp + 0x108], 9
push eax
lea eax, [ebx + 0x10]
push eax
lea ecx, [edi + 0x14]
call fcn.004a9330
lea ecx, [esp + 0x6c]
call fcn.00477300
jmp 0x494490