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

Disassembly:
push 0xffffffffffffffff
push 0x4d7688
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
xor eax, eax
push esi
mov esi, dword [0x515e10]
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
mov ebx, ecx
lea eax, [esp + 0x44]
call fcn.00415310
mov byte [esp + 0x64], 2
mov al, byte [esi + 0x17]
test al, al
jne 0x47c201
mov eax, dword [esi + 0xc]
mov al, byte [eax + 0x17]
cmp al, 1
jne 0x47c221
push 0
push 0
mov ecx, esi
call fcn.004016f0
mov edi, dword [esp + 0x70]
cmp edi, eax
je 0x47c225
mov ecx, esi
call fcn.0041bc60
jmp 0x47c225
mov edi, dword [esp + 0x70]
mov al, byte [esi + 0x17]
test al, al
jne 0x47c232
mov ecx, dword [esi + 0xc]
mov al, byte [ecx + 0x17]
cmp al, 2
je 0x47c36e
mov esi, dword [esp + 0x48]
push esi
call fcn.004c7e7a
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x47c280
test esi, esi
je 0x47c269
mov edx, dword [esp + 0x44]
push edx
push eax
push esi
call fcn.004ce290
add esp, 0xc
push esi
call fcn.004c57e5
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0xc
push str.x_7_97
xor esi, esi
call fcn.0049fc00
add esp, 4
push eax
push ebx
mov dword [esp + 0x3c], eax
call fcn.004c5ce8
push str.x0_____7
mov ebp, eax
mov dword [esp + 0x28], esi
call fcn.0049fc00
add esp, 0xc
push str.x0__
mov dword [esp + 0x28], eax
call fcn.0049fc00
add esp, 4
push eax
push ebx
call fcn.004c5ce8
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x47c2d2
mov esi, eax
push str.x0______9__
call fcn.0049fc00
add esp, 4
push eax
push ebx
call fcn.004c5ce8
add esp, 8
mov dword [esp + 0x2c], eax
cmp esi, eax
jae 0x47c2f3
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
push ebx
call fcn.004c5ce8
add esp, 8
mov dword [esp + 0x28], eax
cmp esi, eax
jae 0x47c30b
mov esi, eax
push str.x03_7df
call fcn.0049fc00
add esp, 4
push eax
push ebx
call fcn.004c5ce8
add esp, 8
mov dword [esp + 0x30], eax
cmp esi, eax
jae 0x47c32c
mov esi, eax
push str.x6704_
call fcn.0049fc00
add esp, 4
push eax
push ebx
call fcn.004c5ce8
mov ebx, eax
add esp, 8
mov dword [esp + 0x20], ebx
cmp esi, ebx
jae 0x47c34f
mov esi, ebx
test ebx, ebx
je 0x47c357
test ebp, ebp
jne 0x47c36e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47c40a
cmp dword [esp + 0x30], 0
je 0x47c415
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x14]
call fcn.0041bc60
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x6c]
push edx
push eax
call fcn.0042f0a0
mov esi, dword [esp + 0x48]
mov edi, eax
test esi, esi
je 0x47c3b1
mov ecx, dword [esp + 0x44]
push ecx
push 0
push esi
call fcn.004ce290
add esp, 0xc
push esi
call fcn.004c57e5
add esp, 4
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x47c3d2
mov edx, dword [esp + 0x38]
push edx
push 0
push esi
call fcn.004ce290
add esp, 0xc
push esi
call fcn.004c57e5
add esp, 4
mov esi, dword [esp + 0x54]
test esi, esi
je 0x47c3f3
mov eax, dword [esp + 0x50]
push eax
push 0
push esi
call fcn.004ce290
add esp, 0xc
push esi
call fcn.004c57e5
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0xc
cmp dword [esp + 0x2c], 0
jne 0x47c36e
xor ecx, ecx
cmp dword [esp + 0x28], ecx
sete cl
xor edx, edx
test eax, eax
sete dl
xor ecx, edx
jne 0x47c36e
mov eax, dword [esp + 0x74]
cmp word [eax], cx
jne 0x47c447
push str.e__3__6r1_3__r_3__30_7r671_3_3__
call fcn.0049fc00
add esp, 4
mov dword [esp + 0x74], eax
test ebp, ebp
je 0x47c4ac
mov eax, dword [esp + 0x34]
xor edi, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47c454
sub eax, edx
sar eax, 1
cmp ebp, esi
jae 0x47c472
lea ecx, [eax + eax]
sub esi, ecx
sub esi, ebp
sar esi, 1
mov edi, esi
lea ebx, [ebp + eax*2]
lea eax, [esp + 0x50]
call fcn.00415310
mov ebp, eax
test edi, edi
jle 0x47c4a4
movzx ecx, word [ebp + edi*2 - 2]
lea eax, [ebp + edi*2 - 2]
xor edx, edx
mov word [ebp + edi*2], dx
cmp ecx, 0x20
je 0x47c49f
cmp ecx, 9
jne 0x47c4a4
xor ecx, ecx
mov word [eax], cx
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x70]
cmp dword [esp + 0x18], 0
je 0x47c529
mov eax, dword [esp + 0x24]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47c4c0
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
lea ecx, [edx + eax*2]
lea eax, [esp + 0x1c]
push eax
call fcn.004935b0
add esp, 4
test al, al
je 0x47c36e
mov ebx, dword [esp + 0x1c]
cmp ebx, 1
jl 0x47c36e
mov edi, ebx
lea esi, [esp + 0x38]
call fcn.00415010
test eax, eax
je 0x47c51c
mov edx, dword [esp + 0x70]
xor edi, edi
mov ecx, ebx
call fcn.00415140
test eax, eax
jne 0x47c5c3
mov dword [esp + 0x10], 0x64
jmp 0x47c376
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4e1a4c
push str._r_t__n
push edi
xor eax, eax
call fcn.004a7990
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4e1a4c
push 0x4e7a74
push edi
xor eax, eax
call fcn.004a7990
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4e1a4c
push 0x4e7a6c
push edi
xor eax, eax
call fcn.004a7990
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4e1a4c
push 0x4e7a70
push edi
xor eax, eax
call fcn.004a7990
add esp, 0x1c
cmp dword [esp + 0x30], 0
push ebp
je 0x47c5eb
mov ecx, dword [esp + 0x78]
test ebx, ebx
setne dl
movzx eax, dl
push eax
push ecx
lea edx, [esp + 0x44]
push edi
push edx
call fcn.0047bb40
add esp, 0x14
jmp 0x47c608
cmp dword [esp + 0x2c], edi
mov eax, dword [esp + 0x3c]
setne cl
movzx edx, cl
mov ecx, dword [esp + 0x74]
push ebp
push edx
push ebx
call fcn.004a02d0
xor ecx, ecx
add esp, 0xc
test al, al
sete cl
mov eax, ecx
jmp 0x47c608
mov edx, dword [esp + 0x78]
test ebx, ebx
setne al
movzx ecx, al
push ecx
push edx
lea eax, [esp + 0x44]
push eax
mov eax, edi
call fcn.0047be70
add esp, 0x10
cmp eax, 0x64
je 0x47c683
test eax, eax
jne 0x47c36e
cmp dword [esp + 0x18], eax
je 0x47c631
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
push ecx
mov eax, esi
call fcn.0046df40
jmp 0x47c64c
lea eax, [esp + 0x38]
call fcn.00415dc0
mov edi, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x18]
call fcn.004aa9c0
mov esi, dword [esp + 0x14]
xor edi, edi
cmp byte [esi + 0x17], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], edi
jne 0x47c663
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x47c6b5
cmp dword [0x5179f4], edi
je 0x47c6b5
mov ecx, 0x5179e8
call fcn.00404c10
cmp eax, edi
jne 0x47c37f
lea ecx, [esp + 0x44]
call fcn.00414f70
lea ecx, [esp + 0x38]
call fcn.00414f70
lea ecx, [esp + 0x50]
call fcn.00414f70
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret 0xc
and byte [esi + 0x15], 0x86
jmp 0x47c37f