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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
mov eax, dword [0x57a040]
xor eax, esp
mov dword [esp + 0x174], eax
push esi
push edi
push pe_nt_image_headers32
lea eax, [esp + 0x7c]
mov esi, ecx
push 0
push eax
mov dword [esp + 0x20], esi
call fcn.0052bd20
mov al, byte [esi + 0xb]
lea edi, [esi + 3]
movq xmm0, qword [edi]
mov edx, 0xdac
mov byte [esp + 0x80], al
add esp, 0xc
mov ax, word [esi + 0x14]
movq qword [esp + 0x38], xmm0
movq qword [esp + 0x6c], xmm0
movq xmm0, qword [esi + 0xc]
mov word [esp + 0x34], ax
mov al, byte [esi + 0x16]
movq qword [esp + 0x2c], xmm0
mov byte [esp + 0x36], al
mov dword [esp + 0x10], edx
nop word [eax + eax]
mov esi, dword [edx*4 + 0x20a514c]
mov dword [esp + 0x18], esi
cmp dword [esi + 4], 2
jle 0x47a4fd
mov edx, dword [esp + 0x14]
lea ecx, [esi + 0x86]
mov al, byte [ecx]
cmp al, byte [edx + 0xc]
mov edx, dword [esp + 0x10]
jne 0x47a4fd
mov eax, dword [esp + 0x14]
add eax, 0xc
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47a4f0
test dl, dl
je 0x47a4ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47a4f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x47a4d0
xor eax, eax
jmp 0x47a4f5
sbb eax, eax
or eax, 1
test eax, eax
je 0x47a570
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x10], edx
cmp edx, 0x1194
jl 0x47a4a0
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 0x1a]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x6c]
push eax
call fcn.00487f30
mov dword [esp + 0x1c], eax
test eax, eax
je 0x47aa40
xor esi, esi
lea edi, [eax + 0x2f]
cmp byte [eax + esi + 0x440], 1
jne 0x47aa14
lea ecx, [esp + 0x2c]
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47aa07
test dl, dl
je 0x47a569
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47aa07
add eax, 2
add ecx, 2
test dl, dl
jne 0x47a545
xor eax, eax
jmp 0x47aa0c
mov word [esi + 0xdca], 0
cmp dword [0x5d8f9c], 0
mov byte [esp + 0x74], 0
je 0x47a690
mov eax, dword [0x5d8fb0]
add eax, 0xfffffffb
cmp eax, 2
ja 0x47a690
cmp dword [0x5d9120], 0
je 0x47a690
push 0x5d9104
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x6c]
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x54], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47a5d3
sub ecx, edx
lea eax, [esp + 0x6c]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.004068e0
lea eax, [esp + 0x40]
mov ecx, 0x5d90fc
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00406850
mov esi, dword [esp + 0x28]
cmp byte [esi + 0xd], 0
jne 0x47a61b
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004067b0
test al, al
je 0x47a621
mov esi, dword [0x5d90fc]
mov ecx, dword [esp + 0x54]
cmp ecx, 0xf
jbe 0x47a657
mov edx, dword [esp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47a64d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47aa54
push ecx
push edx
call fcn.00529f3f
add esp, 8
cmp esi, dword [0x5d90fc]
je 0x47a679
mov ecx, dword [esp + 0x18]
mov al, byte [esi + 0x30]
mov byte [ecx + 0xdca], al
cmp dword [esi + 0x34], 0
setne al
mov byte [ecx + 0xdcb], al
push 0x5d9104
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movq xmm0, qword [esp + 0x6c]
movq qword [esp + 0x38], xmm0
mov esi, dword [esp + 0x10]
mov ecx, 0x5d8f88
push esi
call fcn.0041f340
mov ecx, dword [esi*4 + 0x20a514c]
movq xmm0, qword [esp + 0x38]
mov ax, word [esp + 0x74]
movq qword [ecx + 0x294], xmm0
mov word [ecx + 0x29c], ax
mov al, byte [esp + 0x76]
mov byte [ecx + 0x29e], al
mov eax, dword [esi*4 + 0x20a514c]
add eax, 0x294
push eax
call fcn.00487f30
mov edx, esi
mov ecx, dword [edx*4 + 0x20a514c]
mov dword [ecx + 0x290], eax
mov ecx, dword [edx*4 + 0x20a514c]
cmp dword [ecx + 0x290], 0
je 0x47a9de
mov esi, dword [esp + 0x14]
movzx eax, byte [esi + 0x17]
mov dword [ecx + 0x2a0], eax
mov ecx, dword [edx*4 + 0x20a514c]
mov eax, dword [ecx + 0x290]
mov eax, dword [eax]
mov dword [ecx + 0x28c], eax
movsx eax, word [esi + 0x1a]
mov dword [esp + 0x18], eax
mov eax, dword [edx*4 + 0x20a514c]
lea ecx, [eax + 0x86]
mov eax, dword [eax + 0x290]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
test eax, eax
je 0x47a7f4
add eax, 4
mov cl, byte [edi]
cmp cl, byte [eax]
jne 0x47a770
test cl, cl
je 0x47a76c
mov cl, byte [edi + 1]
cmp cl, byte [eax + 1]
jne 0x47a770
add edi, 2
add eax, 2
test cl, cl
jne 0x47a750
xor eax, eax
jmp 0x47a775
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47a7f4
mov eax, dword [esp + 0x14]
xor esi, esi
lea edi, [eax + 0x2f]
add eax, 0x440
mov dword [esp + 0x38], eax
nop dword [eax + eax]
cmp byte [eax + esi], 1
jne 0x47a7d1
mov ecx, dword [esp + 0x1c]
mov eax, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47a7c0
test dl, dl
je 0x47a7bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47a7c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x47a7a0
xor eax, eax
jmp 0x47a7c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x47a895
mov eax, dword [esp + 0x38]
inc esi
add edi, 0xb
cmp esi, 0x50
jl 0x47a790
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push ecx
push ecx
push esi
push dword [esp + 0x28]
push dword [esp + 0x24]
call fcn.004881f0
mov edx, esi
mov eax, dword [edx*4 + 0x20a514c]
mov esi, dword [eax + 0x290]
add esi, 0x59c
mov ecx, esi
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47a810
sub ecx, edi
je 0x47a83f
push esi
push 0x554320
push 0
push 0
push 0
push 0
push 0
push 2
push edx
push 0xb90558
call fcn.004cdc70
mov edx, dword [esp + 0x38]
add esp, 0x28
mov esi, dword [edx*4 + 0x20a514c]
mov byte [esp + 0x28], dl
mov eax, dword [esi + 0x28c]
lea ecx, [esi + 0x86]
mov edi, dword [esi + 0x290]
mov dword [esp + 0x20], eax
mov eax, edx
shr eax, 8
and eax, 0xffffff7f
mov dword [esp + 0x38], eax
mov byte [esp + 0x27], al
lea eax, [edi + 0x2f]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47a8cb
test dl, dl
je 0x47a891
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47a8cb
add eax, 2
add ecx, 2
test dl, dl
jne 0x47a875
xor eax, eax
jmp 0x47a8d0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov word [eax + esi*2 + 0x3a0], dx
mov byte [esi + eax + 0x490], cl
test esi, esi
jne 0x47a7f4
mov byte [eax + 0x595], 0
mov word [eax + 0x590], si
jmp 0x47a7f4
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47a8de
mov eax, dword [esp + 0x38]
or al, 0x80
mov byte [esp + 0x27], al
mov al, byte [esi + 0x2a0]
mov byte [esp + 0x24], al
test edi, edi
je 0x47a8f8
mov al, byte [edi + 0x718]
mov byte [esp + 0x25], al
jmp 0x47a8fd
mov byte [esp + 0x25], 0xff
mov esi, dword [esi]
push esi
call fcn.00424cf0
cmp al, 1
je 0x47a918
push esi
call fcn.00424da0
mov byte [esp + 0x29], 0
cmp al, 1
jne 0x47a91d
mov byte [esp + 0x29], 1
mov eax, dword [esp + 0x28]
movq xmm0, qword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x85], eax
lea eax, [esp + 0x78]
push 0x11
push eax
push esi
movq qword [esp + 0x89], xmm0
mov dword [esp + 0x84], 0x651100c2
mov byte [esp + 0x88], 1
call fcn.005192f0
mov ecx, dword [esi*4 + 0x20a514c]
mov eax, dword [ecx + 0x290]
cmp byte [eax + 0x591], 0
je 0x47aa40
cmp dword [ecx + 0x28c], 0
je 0x47aa40
mov word [esp + 0x38], 0x6c1
mov byte [esp + 0x3a], 0x64
test eax, eax
jne 0x47a996
xor cl, cl
jmp 0x47a99c
mov cl, byte [eax + 0x595]
mov eax, dword [eax + 0x58c]
mov byte [esp + 0x3b], cl
test eax, eax
jne 0x47a9ae
xor al, al
jmp 0x47a9b4
mov al, byte [eax + 0x595]
mov byte [esp + 0x3c], al
lea eax, [esp + 0x38]
push 6
push eax
push esi
mov byte [esp + 0x49], 0
call fcn.005192f0
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
mov byte [ecx + 0xdca], 0
mov eax, dword [edx*4 + 0x20a514c]
mov byte [eax + 0xdcb], 0
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x47aa35
inc esi
add edi, 0xb
cmp esi, 0x50
jl 0x47a531
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x38]
mov byte [esi + eax + 0x490], cl
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret
call fcn.0052d95f
int3