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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x84], 0
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [eax + 0x18]
mov dword [esp + 0x90], 0
call eax
test edx, edx
jl 0x47edc9
jg 0x47edb8
cmp eax, 0x10
jb 0x47edc9
lea eax, [esp + 0x84]
push eax
push ebx
call fcn.0049fca0
add esp, 8
mov ecx, dword [esp + 0x8c]
xor ecx, dword [0x6a925c]
mov eax, dword [esp + 0x90]
xor eax, dword [0x6a9260]
mov edx, dword [ebx]
or ecx, eax
mov eax, dword [esp + 0x88]
xor eax, dword [0x6a9258]
mov esi, dword [ebp + 0xc]
or ecx, eax
mov eax, dword [esp + 0x84]
xor eax, dword [0x6a9254]
or ecx, eax
mov byte [esp + 0x11], 0
push 0
mov ecx, ebx
jne 0x47ee22
push 1
lea eax, [esp + 0x19]
push eax
call dword [edx + 0xb4]
jmp 0x47ee4d
push 0
call dword [edx + 0xc8]
cmp byte [0x6e192c], 3
jb 0x47ee4d
push dword [esi]
push str.LocRes__s_failed_the_magic_number_check__Assuming_this_is_a_legacy_resource__please_re_generate_your_localization_resources__
push 3
push 0x6e1930
push 0
push 0
call fcn.0047fa60
add esp, 0x18
mov al, byte [esp + 0x11]
cmp al, 3
jbe 0x47ee89
cmp byte [0x6e192c], 2
jb 0x47ee7e
push 3
movzx eax, al
push eax
push dword [esi]
push str.LocRes__s_is_too_new_to_be_loaded__File_Version:__d__Loader_Version:__d_
push 2
push 0x6e1930
push 0
push 0
call fcn.0047fa60
add esp, 0x20
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
cmp al, 1
jb 0x47f084
test byte [ebx + 5], 0x20
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], 0xffffffff
jne 0x47eed4
mov eax, dword [ebx]
lea ecx, [esp + 0x58]
push 0
push 8
push ecx
mov ecx, ebx
call dword [eax + 0xb4]
jmp 0x47eee0
lea eax, [esp + 0x58]
mov ecx, ebx
push eax
call fcn.004bd0d0
mov eax, dword [esp + 0x58]
and eax, dword [esp + 0x5c]
cmp eax, 0xffffffff
je 0x47f080
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x14]
call eax
push dword [esp + 0x5c]
mov esi, dword [ebx]
mov ecx, ebx
push dword [esp + 0x5c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], edx
call dword [esi + 0xc8]
mov eax, dword [ebx]
mov ecx, ebx
push 0
push 0
push dword [esp + 0x64]
push dword [esp + 0x64]
call dword [eax + 0xd8]
cmp byte [esp + 0x11], 2
jb 0x47ef44
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.0047b560
add esp, 8
jmp 0x47f058
lea eax, [esp + 0x78]
mov dword [esp + 0x78], 0
push eax
push ebx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
call fcn.00417f20
mov edi, dword [esp + 0x84]
add esp, 8
cmp edi, dword [esp + 0x44]
jle 0x47ef8b
push edi
lea ecx, [esp + 0x40]
call fcn.00412e20
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
lea eax, [edi + edi*2]
lea eax, [esi + eax*4]
mov dword [esp + 0x14], eax
cmp esi, eax
je 0x47f02b
lea edi, [esi + 8]
mov ecx, eax
nop word [eax + eax]
mov eax, dword [edi - 8]
mov dword [edi - 8], 0
mov dword [esp + 0x54], eax
mov eax, dword [edi - 4]
mov dword [esp + 0x50], eax
mov eax, dword [edi]
mov dword [edi - 4], 0
mov dword [edi], 0
mov esi, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
lea eax, [esi + 1]
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x44]
jle 0x47eff7
push esi
lea ecx, [esp + 0x40]
call fcn.00412940
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
add edi, 0xc
shl esi, 4
add esi, dword [esp + 0x3c]
mov dword [esi], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 8], eax
lea eax, [edi - 8]
mov dword [esi + 0xc], 0xffffffff
cmp eax, ecx
jne 0x47efb0
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
test edi, edi
je 0x47f04b
nop
mov eax, dword [esi]
test eax, eax
je 0x47f03f
push eax
call fcn.0043f8f0
add esp, 4
add esi, 0xc
sub edi, 1
jne 0x47f030
mov esi, dword [esp + 0x78]
test esi, esi
je 0x47f058
push esi
call fcn.0043f8f0
add esp, 4
mov eax, dword [ebx]
mov ecx, ebx
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x38]
push edi
push esi
call dword [eax + 0xc8]
mov eax, dword [ebx]
mov ecx, ebx
push 0
push 0
push edi
push esi
call dword [eax + 0xd8]
mov edi, dword [esp + 0x34]
mov al, byte [esp + 0x11]
cmp al, 2
jb 0x47f14d
test byte [ebx + 5], 0x20
jne 0x47f0a7
mov eax, dword [ebx]
lea ecx, [esp + 0x48]
push 0
push 4
push ecx
mov ecx, ebx
call dword [eax + 0xb4]
jmp 0x47f0b3
lea eax, [esp + 0x48]
mov ecx, ebx
push eax
call fcn.004bd080
mov ecx, dword [edi + 4]
sub ecx, dword [edi + 0x2c]
mov esi, dword [esp + 0x48]
add esi, ecx
cmp esi, ecx
jle 0x47f14d
push esi
mov ecx, edi
call fcn.004821d0
cmp esi, 4
jb 0x47f133
shr esi, 1
mov edi, 0x20
add esi, 8
bsr ebx, esi
lea eax, [esi - 1]
mov esi, 0x1f
mov ecx, esi
mov dword [esp + 0xd8], ebx
setne dh
bsr eax, eax
mov dword [esp + 0xdc], eax
setne dl
sub ecx, eax
test dl, dl
mov eax, edi
cmovne eax, ecx
sub esi, ebx
mov ebx, dword [ebp + 8]
sub edi, eax
shl esi, 0x1a
mov ecx, 0xfc000000
test dh, dh
mov eax, 1
cmovne ecx, esi
sar ecx, 0x1f
not ecx
and ecx, edi
mov edi, dword [esp + 0x34]
shl eax, cl
jmp 0x47f138
mov eax, 1
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x47f143
cmp ecx, eax
jge 0x47f14d
mov ecx, edi
mov dword [edi + 0x38], eax
call fcn.00482000
test byte [ebx + 5], 0x20
jne 0x47f168
mov eax, dword [ebx]
lea ecx, [esp + 0x6c]
push 0
push 4
push ecx
mov ecx, ebx
call dword [eax + 0xb4]
jmp 0x47f174
lea eax, [esp + 0x6c]
mov ecx, ebx
push eax
call fcn.004bd080
xor edi, edi
mov dword [esp + 0x54], edi
cmp dword [esp + 0x6c], edi
jbe 0x47f677
mov esi, dword [ebp + 0x10]
lea ecx, [esp + 0x70]
call fcn.00454120
mov al, byte [esp + 0x11]
lea ecx, [esp + 0x70]
push ebx
cmp al, 3
jb 0x47f1a4
call fcn.00476110
jmp 0x47f1b4
cmp al, 2
jne 0x47f1af
call fcn.00474660
jmp 0x47f1b4
call fcn.00474350
test byte [ebx + 5], 0x20
jne 0x47f1cf
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push 0
push 4
push ecx
mov ecx, ebx
call dword [eax + 0xb4]
jmp 0x47f1db
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.004bd080
cmp dword [esp + 0x14], 0
mov dword [esp + 0x50], 0
jbe 0x47f668
nop
lea ecx, [esp + 0x64]
call fcn.00454120
mov al, byte [esp + 0x11]
lea ecx, [esp + 0x64]
push ebx
cmp al, 3
jb 0x47f20d
call fcn.00476110
jmp 0x47f21d
cmp al, 2
jne 0x47f218
call fcn.00474660
jmp 0x47f21d
call fcn.00474350
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00454120
test byte [ebx + 5], 0x20
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], esi
mov eax, dword [edi]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x28], eax
jne 0x47f275
mov eax, dword [ebx]
lea ecx, [esp + 0x2c]
push 0
push 4
push ecx
mov ecx, ebx
call dword [eax + 0xb4]
jmp 0x47f281
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
call fcn.004bd080
cmp byte [esp + 0x11], 1
jb 0x47f4df
test byte [ebx + 5], 0x20
mov dword [esp + 0x38], 0xffffffff
jne 0x47f2af
mov eax, dword [ebx]
lea ecx, [esp + 0x38]
push 0
push 4
push ecx
mov ecx, ebx
call dword [eax + 0xb4]
jmp 0x47f2bb
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.004bd080
mov esi, dword [esp + 0x38]
test esi, esi
js 0x47f4b2
cmp esi, dword [esp + 0x40]
jge 0x47f4b2
mov dword [esp + 0x94], esi
test esi, esi
jns 0x47f307
lea eax, [esp + 0x94]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa8]
push eax
call fcn.006090b0
add esp, 4
nop
int3
shl esi, 4
add esi, dword [esp + 0x3c]
cmp dword [esi + 0xc], 1
jne 0x47f37b
lea eax, [esp + 0x18]
cmp eax, esi
je 0x47f373
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47f32d
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esi]
mov dword [esp + 0x18], eax
mov dword [esi], 0
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x20], ecx
cmp eax, dword [esi + 4]
jne 0x47f351
cmp ecx, dword [esi + 8]
je 0x47f365
lea eax, [esp + 0x12]
mov byte [esp + 0x12], 0
push eax
call fcn.00609010
add esp, 4
nop
int3
mov dword [esi + 4], 0
mov dword [esi + 8], 0
dec dword [esi + 0xc]
jmp 0x47f4ed
mov edi, dword [esi + 4]
lea eax, [edi - 1]
neg edi
sbb edi, edi
and edi, eax
mov dword [esp + 0x98], edi
mov dword [esp + 0xe0], edi
jne 0x47f3ba
cmp dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
je 0x47f4a4
push 0
lea ecx, [esp + 0x1c]
call fcn.0040ce40
jmp 0x47f4a4
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
mov dword [esp + 0xa0], edx
test eax, eax
je 0x47f3ce
dec eax
jmp 0x47f3d0
xor eax, eax
mov dword [esp + 0x4c], eax
lea ecx, [edi + 1]
mov dword [esp + 0x9c], ecx
cmp edi, eax
jg 0x47f44d
mov ebx, dword [esp + 0x18]
add edi, edi
push edi
push edx
push ebx
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
add esp, 0xc
mov word [ebx + edi], ax
mov ebx, dword [esp + 0x4c]
sub ebx, dword [esp + 0x98]
je 0x47f4a1
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov edx, dword [esp + 0x9c]
sub ecx, edx
sub ecx, ebx
je 0x47f43c
lea eax, [ecx + ecx]
mov ecx, dword [esp + 0x18]
push eax
lea eax, [edx + ebx]
lea eax, [ecx + eax*2]
push eax
lea eax, [ecx + edx*2]
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [esp + 0x28]
add esp, 0xc
sub eax, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.00412d40
jmp 0x47f4a1
mov ebx, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x1c], edx
cmp ebx, ecx
je 0x47f46d
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040ce40
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [edi + 1]
add eax, edx
mov dword [esp + 0x1c], eax
cmp eax, ebx
jle 0x47f484
push edx
lea ecx, [esp + 0x1c]
call fcn.0040cde0
mov ebx, dword [esp + 0x18]
add edi, edi
push edi
push dword [esp + 0xa4]
push ebx
call fcn.005f7171
add esp, 0xc
xor eax, eax
mov word [edi + ebx], ax
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x47f4ed
dec eax
mov dword [esi + 0xc], eax
jmp 0x47f4ed
cmp byte [0x6e192c], 3
jb 0x47f4ed
push dword [esp + 0x64]
push dword [esp + 0x74]
push dword [edi]
push str.LocRes__s_has_an_invalid_localized_string_index_for_namespace__s_and_key__s._This_entry_will_have_no_translation.
push 3
push 0x6e1930
push 0
push 0
call fcn.0047fa60
add esp, 0x20
jmp 0x47f4ed
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.0040e410
add esp, 8
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0xa8]
mov dword [esp + 0xbc], edi
push eax
call fcn.0047dd70
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x47f549
imul esi, eax, 0x34
add esi, dword [ecx]
jmp 0x47f54b
xor esi, esi
lea eax, [esi + 0x10]
neg esi
sbb esi, esi
and esi, eax
je 0x47f5e5
mov eax, dword [esp + 0x30]
cmp eax, dword [esi + 0x18]
jge 0x47f63d
lea eax, [esp + 0x18]
cmp esi, eax
je 0x47f5c7
mov eax, dword [esi]
test eax, eax
je 0x47f57e
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
cmp eax, dword [esp + 0x1c]
je 0x47f5b7
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
call fcn.00609010
add esp, 4
nop
int3
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x24]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x18], eax
jmp 0x47f63d
mov eax, dword [esp + 0x74]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xd4], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x18]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xb0]
push 0
push eax
lea eax, [esp + 0xec]
mov dword [esp + 0xd0], edi
push eax
call fcn.0047a9a0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47f64e
push eax
call fcn.0043f8f0
add esp, 4
mov esi, dword [esp + 0x50]
inc esi
cmp esi, dword [esp + 0x14]
mov dword [esp + 0x50], esi
mov esi, dword [ebp + 0x10]
jb 0x47f1f0
mov edi, dword [esp + 0x54]
inc edi
mov dword [esp + 0x54], edi
cmp edi, dword [esp + 0x6c]
jb 0x47f187
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
test edi, edi
je 0x47f69a
mov eax, dword [esi]
test eax, eax
je 0x47f692
push eax
call fcn.0043f8f0
add esp, 4
add esi, 0x10
sub edi, 1
jne 0x47f683
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x47f6ab
push eax
call fcn.0043f8f0
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc