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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x529748]
xor eax, esp
mov dword [esp + 0xc4], eax
cmp word [ebp + 0x10], 0
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
push esi
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, ecx
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x54], edx
mov eax, dword [edi]
mov dword [esp + 0x20], edi
mov dword [esp + 0x48], 0
movlpd qword [esp + 0x80], xmm0
mov eax, dword [eax]
mov dword [esp + 0x70], eax
je 0x47f833
test byte [eax + 0x3c], 0x80
je 0x47f833
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.004bd963
mov esp, ebp
pop ebp
ret
movzx eax, word [edx]
mov dword [esp + 0x98], eax
cmp eax, 0x3f
ja 0x47f81d
movzx ecx, ax
xor edx, edx
xor esi, esi
movlpd qword [esp + 0x60], xmm0
mov eax, ecx
movlpd qword [esp + 0x40], xmm0
bts edx, eax
mov byte [esp + 0x30], 1
cmp eax, 0x20
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], 0
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
mov eax, dword [esp + 0x64]
cmovae esi, edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x60]
add edx, 0xffffffff
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x44]
adc esi, 0xffffffff
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x80]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x6c]
cmp edx, eax
ja 0x47ffa5
jb 0x47f8db
cmp esi, dword [esp + 0x8c]
jae 0x47ffac
movzx eax, word [ebp + 0x10]
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x4c], eax
jg 0x47ffa1
cmp dword [esp + 0x4c], 0
mov edi, dword [esp + 0x20]
jle 0x47f91a
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x74]
or ecx, dword [edi + 8]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x7c]
or ecx, dword [edi + 0xc]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x4c], eax
jge 0x47f93b
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x4c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + esi*4]
mov esi, dword [esp + 0x1c]
jmp 0x47f942
mov eax, dword [esp + 0x94]
test dword [eax + 0x24], 0x400
mov dword [esp + 0x48], eax
jne 0x47ff9b
mov edx, eax
movzx eax, byte [edx + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
shl ecx, 4
mov edi, dword [ecx + eax + 0x38]
xor eax, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], eax
cmp dword [esp + 0x34], eax
jle 0x47fabe
xor esi, esi
mov dword [esp + 0x28], esi
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x60], ecx
cmovae edx, ecx
and ecx, dword [esp + 0x1c]
mov eax, edx
mov dword [esp + 0x58], edx
and eax, dword [esp + 0x18]
or ecx, eax
jne 0x47fa9e
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
mov esi, dword [esi + eax]
test esi, esi
je 0x47f9e2
lea ecx, [ecx]
mov eax, dword [esi + 4]
test eax, 0x1000
je 0x47f9e2
test eax, 0x40000
je 0x47f9db
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 4]
mov esi, dword [eax]
jmp 0x47f9de
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x47f9c0
cmp byte [esi], 0x9a
jne 0x47fa9e
cmp dword [esi + 0x1c], edi
jne 0x47fa9e
mov eax, dword [esp + 0x7c]
mov edx, edi
mov ecx, dword [esp + 0x74]
not eax
push 0
push 0x82
not ecx
push eax
movsx eax, word [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x30]
push eax
add ecx, 0x148
call fcn.00479450
mov edi, eax
add esp, 0x14
test edi, edi
je 0x47fa9a
test byte [edi + 0x12], 2
je 0x47fa82
cmp word [esi + 0x20], 0
jl 0x47fa82
mov eax, dword [esp + 0x54]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x28]
mov edx, dword [edx + eax]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
call fcn.00447e90
test eax, eax
jne 0x47fa59
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 8]
mov esi, dword [eax]
mov eax, dword [esp + 0x20]
mov edx, dword [edi]
mov ecx, dword [eax]
call fcn.00447e90
test eax, eax
jne 0x47fa73
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 8]
push dword [eax]
push esi
call fcn.0041c5c0
add esp, 8
test eax, eax
jne 0x47fa9a
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
or eax, dword [esp + 0x60]
or edx, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
add dword [esp + 0x28], 0x18
inc eax
mov esi, dword [esp + 0x28]
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x34]
jl 0x47f980
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 0x24]
test eax, 0x1000
jne 0x47fd95
test eax, 0x100
je 0x47fae2
xor edi, edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
lea eax, [edi + 1]
jmp 0x47fb10
mov edi, dword [edx + 0x1c]
mov dword [esp + 0x58], edi
test edi, edi
je 0x47f81d
test byte [edi + 0x38], 4
jne 0x47f81d
movzx eax, word [edi + 0x32]
cmp byte [edi + 0x36], 0
mov dword [esp + 0x60], eax
movzx eax, word [edi + 0x34]
setne byte [esp + 0x30]
movzx eax, ax
xor cl, cl
xor esi, esi
mov byte [esp + 0x2f], 0
mov byte [esp + 0x27], 0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x80], eax
test eax, eax
jle 0x47fd95
movzx ecx, word [edx + 0x18]
cmp esi, ecx
jge 0x47fb67
cmp word [edx + 0x1a], 0
jne 0x47fb67
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + esi*4]
movzx eax, word [eax + 0x12]
test al, 0x82
je 0x47fb67
test al, al
jns 0x47fd7a
mov byte [esp + 0x30], 0
jmp 0x47fd7a
test edi, edi
je 0x47fb8d
mov eax, dword [edi + 4]
movsx edx, word [eax + esi*2]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], edx
mov al, byte [esi + eax]
mov byte [esp + 0x16], al
mov eax, dword [edi + 0xc]
movsx eax, word [eax + 0x24]
cmp edx, eax
jne 0x47fb99
jmp 0x47fb92
mov byte [esp + 0x16], 0
or edx, 0xffffffff
mov dword [esp + 0x28], edx
cmp byte [esp + 0x30], 0
je 0x47fbc6
test edx, edx
js 0x47fbc6
cmp esi, ecx
jl 0x47fbc6
mov eax, dword [edi + 0xc]
lea ecx, [edx + edx*2]
mov edx, dword [esp + 0x30]
xor esi, esi
movzx edx, dl
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0x14], 0
cmove edx, esi
mov dword [esp + 0x30], edx
xor esi, esi
mov byte [esp + 0x17], 1
xor edi, edi
nop
cmp esi, dword [esp + 0x34]
jge 0x47fca7
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x1c]
and ecx, dword [esp + 0x18]
or edx, ecx
jne 0x47fc98
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
mov edx, dword [edi + eax]
mov eax, edx
test eax, eax
je 0x47fc35
mov ecx, dword [eax + 4]
test ecx, 0x1000
je 0x47fc35
test ecx, 0x40000
je 0x47fc2e
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax]
jmp 0x47fc31
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x47fc11
mov ecx, dword [ebp + 0xc]
and ecx, 0x300
neg ecx
sbb cl, cl
and byte [esp + 0x17], cl
cmp byte [eax], 0x9a
jne 0x47fc98
mov ecx, dword [esp + 0x3c]
cmp dword [eax + 0x1c], ecx
jne 0x47fc98
movsx eax, word [eax + 0x20]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jne 0x47fc98
test ecx, ecx
js 0x47fcd5
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
call fcn.00447e90
mov ecx, eax
test ecx, ecx
jne 0x47fc7c
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 0x20]
push dword [eax + edx*4]
push dword [ecx]
call fcn.0041c5c0
add esp, 8
test eax, eax
je 0x47fcd5
inc esi
add edi, 0x18
cmp byte [esp + 0x17], 0
jne 0x47fbd0
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x47fcba
mov eax, dword [esp + 0x60]
movzx eax, ax
cmp ecx, eax
jge 0x47fcbf
mov byte [esp + 0x30], 0
mov ecx, dword [esp + 0x40]
test cl, cl
je 0x47fd95
mov byte [esp + 0x30], 1
jmp 0x47fda0
mov eax, dword [esp + 0x20]
mov ecx, pe_nt_image_headers32
test word [eax + 0x22], cx
jne 0x47fd3d
cmp byte [esp + 0x2f], 0
lea ecx, [esi + esi*2]
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
je 0x47fd05
mov dl, byte [esp + 0x16]
xor dl, byte [esp + 0x27]
cmp dl, byte [eax + ecx*8 + 0xc]
jne 0x47fca7
jmp 0x47fd3d
mov dh, byte [eax + ecx*8 + 0xc]
xor dh, byte [esp + 0x16]
mov byte [esp + 0x27], dh
je 0x47fd38
mov eax, dword [esp + 0x4c]
xor ecx, ecx
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x9c]
cmovae edx, ecx
or dword [eax], ecx
or dword [eax + 4], edx
mov byte [esp + 0x2f], 1
cmp dword [esp + 0x28], 0
mov eax, 1
mov edx, dword [esp + 0x40]
movzx edx, dl
cmovl edx, eax
xor eax, eax
bts eax, esi
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x48]
xor ecx, ecx
cmp esi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp esi, 0x40
mov esi, dword [esp + 0x38]
cmovae ecx, eax
or dword [esp + 0x1c], eax
or dword [esp + 0x18], ecx
inc esi
mov dword [esp + 0x38], esi
cmp esi, dword [esp + 0x80]
jge 0x47fcbf
mov edi, dword [esp + 0x58]
jmp 0x47fb38
cmp byte [esp + 0x30], 0
je 0x47ff7f
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x78]
or ecx, dword [eax + 8]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x50]
or ecx, dword [eax + 0xc]
xor eax, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x60], eax
test ecx, ecx
jle 0x47ff83
xor esi, esi
mov dword [esp + 0x3c], esi
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x80], ecx
cmovae edx, ecx
and ecx, dword [esp + 0x1c]
mov eax, edx
mov dword [esp + 0x28], edx
and eax, dword [esp + 0x18]
or ecx, eax
jne 0x47ff5f
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
add ecx, 0x44
mov eax, dword [eax + 4]
mov esi, dword [esi + eax]
mov dword [esp + 0x40], esi
test esi, esi
jne 0x47fe37
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x38], eax
jmp 0x47fee0
cmp byte [esi], 0x9a
jne 0x47fe86
mov edx, dword [ecx]
xor eax, eax
test edx, edx
jle 0x47fe5c
mov esi, dword [esi + 0x1c]
add ecx, 4
lea ebx, [ebx]
cmp dword [ecx], esi
je 0x47fe6f
inc eax
add ecx, 4
cmp eax, edx
jl 0x47fe50
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
jmp 0x47fed0
xor esi, esi
xor edi, edi
bts esi, eax
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
cmovae edi, esi
jmp 0x47fed0
mov edx, dword [esi + 0x10]
call fcn.00478c00
mov ecx, dword [esp + 0x20]
mov edi, edx
mov edx, dword [esp + 0x40]
mov esi, eax
lea ecx, [ecx + 0x44]
mov edx, dword [edx + 0xc]
call fcn.00478c00
mov ecx, dword [esp + 0x20]
or esi, eax
mov eax, dword [esp + 0x40]
or edi, edx
lea ecx, [ecx + 0x44]
test dword [eax + 4], 0x800
mov edx, dword [eax + 0x14]
je 0x47fec7
call fcn.00478d00
jmp 0x47fecc
call fcn.00478c90
or esi, eax
or edi, edx
mov dword [esp + 0x38], esi
or esi, edi
mov dword [esp + 0x58], edi
jne 0x47ff2e
mov esi, dword [esp + 0x40]
xorps xmm0, xmm0
lea ecx, [esp + 0xa0]
movdqa xmmword [esp + 0xa0], xmm0
mov edx, esi
movq qword [esp + 0xb0], xmm0
mov dword [esp + 0xb4], 1
mov dword [esp + 0xa0], 0x449810
mov dword [esp + 0xa4], 0x449900
call fcn.00445a90
cmp dword [esp + 0xb4], 0
je 0x47ff5f
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x50]
not ecx
and ecx, dword [esp + 0x38]
not eax
and eax, edi
or ecx, eax
jne 0x47ff5f
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x80]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
add dword [esp + 0x3c], 0x18
inc eax
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
cmp eax, ecx
jl 0x47fdd2
jmp 0x47ff83
mov ecx, dword [esp + 0x34]
inc dword [esp + 0x4c]
cmp byte [esp + 0x30], 0
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
je 0x47ffa1
jmp 0x47f8c0
cmp byte [eax + 0x1d], 0
jne 0x47ffb2
mov eax, dword [esp + 0x6c]
cmp esi, dword [esp + 0x8c]
jne 0x47ffcd
cmp edx, eax
jne 0x47ffcd
mov al, byte [esp + 0x98]
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.004bd963
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x30], 0
jne 0x480041
lea eax, [ecx - 1]
mov dword [esp + 0x50], eax
test eax, eax
jle 0x47f81d
mov edi, dword [esp + 0x18]
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
mov eax, ecx
adc edx, 0xffffffff
and eax, esi
mov esi, edx
and esi, edi
cmp eax, ecx
jne 0x480012
cmp esi, edx
je 0x480029
mov eax, dword [esp + 0x50]
dec eax
mov dword [esp + 0x50], eax
test eax, eax
jle 0x47f81d
mov esi, dword [esp + 0x1c]
jmp 0x47ffe7
mov al, byte [esp + 0x50]
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.004bd963
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xcc]
or al, 0xff
pop edi
pop esi
xor ecx, esp
call fcn.004bd963
mov esp, ebp
pop ebp
ret