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

Disassembly:
mov eax, 0x1090
call fcn.0058ee00
mov eax, dword [0x6204e0]
xor eax, esp
mov dword [esp + 0x108c], eax
mov eax, dword [esp + 0x10a0]
mov ecx, dword [esp + 0x109c]
mov edx, dword [esp + 0x10a4]
push ebx
mov ebx, dword [esp + 0x1098]
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], 1
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
cmp eax, esi
jne 0x47b383
cmp ecx, esi
je 0x47b369
mov dword [ecx], 0x63
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x108c]
xor ecx, esp
call fcn.0058ecc6
add esp, 0x1090
ret
mov dword [eax], esi
cmp ecx, esi
je 0x47b38b
mov dword [ecx], esi
push ebp
cmp edx, esi
jne 0x47b39a
mov eax, 0x10
jmp 0x47b9f5
mov eax, dword [esp + 0x10b8]
mov dword [edx], esi
cmp eax, esi
jne 0x47b3b3
mov eax, 0x5add50
mov dword [esp + 0x10b8], eax
mov ebp, dword [esp + 0x10a8]
lea ecx, [eax + 0x100]
lea edx, [eax + 0x200]
mov dword [esp + 0x38], eax
add eax, 0x340
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
test ebp, 0xdc038580
je 0x47b3ed
mov eax, 0x11
jmp 0x47b9e9
cmp byte [ebx], 0x28
jne 0x47b53f
jmp 0x47b402
xor esi, esi
cmp byte [ebx + edi + 1], 0x2a
jne 0x47b53f
push 5
lea esi, [ebx + edi + 2]
push str.UTF8_
push esi
call sub.MSVCR90.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x47b433
add edi, 7
or ebp, 0x800
jmp 0x47b533
push 4
push str.UCP_
push esi
call sub.MSVCR90.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x47b455
add edi, 6
or ebp, 0x20000000
jmp 0x47b533
push 3
push 0x5adcc0
push esi
call sub.MSVCR90.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x47b47c
add edi, 5
mov eax, 0x100000
and ebp, 0xff8fffff
jmp 0x47b531
push 3
push 0x5adcbc
push esi
call sub.MSVCR90.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x47b4a3
add edi, 5
mov eax, 0x200000
and ebp, 0xff8fffff
jmp 0x47b531
push 5
push str.CRLF_
push esi
call sub.MSVCR90.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x47b4c7
add edi, 7
mov eax, 0x300000
and ebp, 0xff8fffff
jmp 0x47b531
push 4
push str.ANY_
push esi
call sub.MSVCR90.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x47b4eb
add edi, 6
mov eax, 0x400000
and ebp, 0xff8fffff
jmp 0x47b531
push 8
push str.ANYCRLF_
push esi
call sub.MSVCR90.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x47b50f
add edi, 0xa
mov eax, 0x500000
and ebp, 0xff8fffff
jmp 0x47b531
push 0xc
push str.BSR_ANYCRLF_
push esi
call sub.MSVCR90.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x47b555
add edi, 0xe
mov eax, 0x800000
and ebp, 0xfe7fffff
or ebp, eax
cmp byte [ebx + edi], 0x28
je 0x47b400
xor esi, esi
mov eax, ebp
shr eax, 0xb
mov edx, 1
and eax, edx
je 0x47b573
lea eax, [edx + 0x1f]
jmp 0x47b9e9
push 0xc
push 0x5adc80
push esi
call sub.MSVCR90.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x47b53d
add edi, 0xe
mov eax, 0x1000000
jmp 0x47b52b
test ebp, 0x20000000
je 0x47b585
mov eax, 0x43
jmp 0x47b9e9
mov eax, ebp
and eax, 0x1800000
je 0x47b5a6
cmp eax, 0x800000
je 0x47b5a6
cmp eax, 0x1000000
je 0x47b5a6
mov eax, 0x38
jmp 0x47b9e9
mov eax, ebp
and eax, 0x700000
cmp eax, 0x300000
mov ecx, 2
jg 0x47b60a
je 0x47b603
cmp eax, esi
je 0x47b5cd
cmp eax, 0x100000
je 0x47b5fc
cmp eax, 0x200000
jne 0x47b618
mov eax, 0xa
cmp eax, 0xff
mov dword [esp + 0x90], esi
jle 0x47b634
mov dword [esp + 0x94], ecx
mov ecx, eax
sar ecx, 8
mov byte [esp + 0x98], cl
mov byte [esp + 0x99], al
jmp 0x47b642
mov eax, 0xd
jmp 0x47b5d2
mov eax, 0xd0a
jmp 0x47b5d2
cmp eax, 0x400000
je 0x47b62b
cmp eax, 0x500000
je 0x47b622
mov eax, 0x38
jmp 0x47b9e9
mov dword [esp + 0x90], ecx
jmp 0x47b642
mov dword [esp + 0x90], edx
jmp 0x47b642
mov dword [esp + 0x94], edx
mov byte [esp + 0x98], al
lea edx, [esp + 0x9c]
mov eax, edx
mov dword [esp + 0x4c], eax
mov ecx, edx
mov eax, ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47b680
sub eax, edx
add eax, ebx
mov dword [esp + 0x54], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
lea edx, [esp + 0xa8]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x38]
push eax
push esi
push esi
push esi
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x48]
push eax
mov ecx, ebp
and ecx, 7
push ecx
add edi, ebx
push ebp
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x48], edi
mov byte [esp + 0xd0], 0x5e
call fcn.0047aa60
mov eax, dword [esp + 0x44]
add esp, 0x34
cmp eax, esi
jne 0x47b9e9
mov ebp, dword [esp + 0x1c]
cmp ebp, 0x10000
jle 0x47b71c
mov eax, 0x14
jmp 0x47b9e9
mov edx, dword [esp + 0x68]
add edx, 3
imul edx, dword [esp + 0x64]
lea ebx, [edx + ebp + 0x28]
push ebx
call dword [0x618900]
mov esi, eax
add esp, 4
test esi, esi
jne 0x47b744
lea eax, [esi + 0x15]
jmp 0x47b9e5
mov dword [esi + 4], ebx
mov dword [esi], 0x50435245
mov eax, dword [esp + 0x7c]
mov dword [esi + 8], eax
movzx ecx, word [esp + 0x80]
mov word [esi + 0xc], cx
xor edx, edx
mov word [esi + 0xe], dx
xor ecx, ecx
mov word [esi + 0x16], cx
xor eax, eax
mov word [esi + 0x14], ax
mov edx, 0x28
mov word [esi + 0x18], dx
movzx eax, word [esp + 0x68]
mov word [esi + 0x1a], ax
movzx ecx, word [esp + 0x64]
mov eax, dword [esp + 0x10b8]
mov word [esi + 0x1c], cx
xor edx, edx
mov word [esi + 0x1e], dx
mov ecx, eax
sub ecx, 0x5add50
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [esi + 0x20], ecx
xor ecx, ecx
mov dword [esi + 0x24], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x64], ecx
movzx eax, word [esi + 0x18]
push ecx
add eax, esi
mov dword [esp + 0x64], eax
movzx edx, word [esi + 0x1a]
movzx ebx, word [esi + 0x1c]
imul ebx, edx
lea edx, [esp + 0x3c]
push edx
push ecx
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x38]
push edx
push ecx
push ecx
push ecx
add ebx, eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0x78], ecx
lea eax, [esp + 0xbc]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x7c], eax
lea ecx, [esp + 0x30]
push ecx
mov byte [ebx], 0x5e
mov eax, dword [esi + 8]
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x48]
mov edx, eax
push ecx
and edx, 7
push edx
push eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], ebx
call fcn.0047aa60
movzx eax, word [esp + 0xa0]
mov word [esi + 0x10], ax
movzx ecx, word [esp + 0xa8]
mov word [esi + 0x12], cx
mov dx, word [esp + 0xb4]
add esp, 0x34
mov word [esi + 0xc], dx
cmp dword [esp + 0x88], 0
je 0x47b875
mov dword [esp + 0x24], 0xffffffff
cmp dword [esp + 0x10], 0
jne 0x47b88d
mov eax, dword [esp + 0x14]
cmp byte [eax], 0
je 0x47b88d
mov dword [esp + 0x10], 0x16
mov eax, dword [esp + 0x20]
mov byte [eax], 0
inc eax
sub eax, ebx
cmp eax, ebp
jle 0x47b8a8
mov dword [esp + 0x10], 0x17
jmp 0x47b925
cmp dword [esp + 0x10], 0
jne 0x47b925
nop
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x9c]
cmp eax, ecx
jbe 0x47b913
sub eax, 2
mov dword [esp + 0x5c], eax
movzx edx, byte [eax]
movzx edi, byte [eax + 1]
shl edx, 8
or edi, edx
movzx eax, byte [edi + ebx]
movzx ecx, byte [edi + ebx + 1]
shl eax, 8
or eax, ecx
push eax
push 0
push ebx
call fcn.00476e50
add esp, 0xc
test eax, eax
je 0x47b909
mov edx, eax
sub edx, ebx
sar edx, 8
sub al, bl
mov byte [edi + ebx], dl
mov byte [edi + ebx + 1], al
cmp dword [esp + 0x10], 0
je 0x47b8b0
jmp 0x47b925
mov dword [esp + 0x10], 0x35
jmp 0x47b925
mov ax, word [esi + 0x12]
cmp ax, word [esi + 0x10]
jbe 0x47b925
mov dword [esp + 0x10], 0xf
cmp dword [esp + 0x8c], 0
je 0x47b9d0
push 0xffffffffffffffff
push 0
push ebx
call fcn.00476e50
mov edi, eax
add esp, 0xc
test edi, edi
je 0x47b9d0
lea ebx, [ebx]
movzx ecx, byte [edi + 1]
movzx edx, byte [edi + 2]
shl ecx, 8
or ecx, edx
jne 0x47b9a7
movzx eax, byte [edi - 2]
movzx ecx, byte [edi - 1]
shl eax, 8
or eax, ecx
movzx edx, byte [eax + edi - 3]
lea ebp, [eax + edi - 3]
lea eax, [esp + 0x38]
push eax
mov byte [ebp], 0
mov ecx, dword [esi + 8]
push 1
push ecx
push edi
mov dword [esp + 0x2c], edx
call fcn.00476ba0
mov dl, byte [esp + 0x2c]
add esp, 0x10
mov byte [ebp], dl
test eax, eax
jl 0x47b9bf
mov ecx, eax
sar ecx, 8
mov byte [edi + 1], cl
mov byte [edi + 2], al
push 0xffffffffffffffff
push 0
add edi, 3
push edi
call fcn.00476e50
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x47b950
jmp 0x47b9d0
sub eax, 0xfffffffe
neg eax
sbb eax, eax
and eax, 0xfffffff5
add eax, 0x24
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x47ba2e
push esi
call dword [0x618904]
mov eax, dword [esp + 0x14]
add esp, 4
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
sub ecx, ebx
mov dword [edx], ecx
mov esi, eax
mov ecx, str.no_error
test eax, eax
jle 0x47ba17
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x47ba00
cmp byte [ecx], dl
je 0x47ba12
dec esi
test esi, esi
jg 0x47ba00
jmp 0x47ba17
mov ecx, str.Error_text_not_found__please_report_
mov edx, dword [esp + 0x34]
mov dword [edx], ecx
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x47ba27
mov dword [ecx], eax
xor eax, eax
jmp 0x47bafd
mov eax, dword [esi + 8]
test al, 0x10
jne 0x47bab9
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
push eax
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
call fcn.0047ae90
add esp, 0x10
test eax, eax
je 0x47ba5c
or dword [esi + 8], 0x10
jmp 0x47bab9
mov eax, dword [esp + 0x28]
test eax, eax
jge 0x47ba78
push 0
lea edx, [esp + 0x1c]
push edx
push ebx
call fcn.0047b1f0
add esp, 0xc
test eax, eax
jl 0x47baa0
mov ecx, eax
and ecx, 0xff
test eax, 0x100
je 0x47ba95
mov edx, dword [esp + 0x3c]
movzx edx, byte [edx + ecx]
cmp edx, ecx
jne 0x47ba95
mov eax, ecx
or word [esi + 0xc], 2
mov word [esi + 0x14], ax
jmp 0x47bab9
mov eax, dword [esp + 0x78]
push eax
push 0
push ebx
call fcn.0047af70
add esp, 0xc
test eax, eax
je 0x47bab9
or word [esi + 0xc], 8
mov ecx, dword [esp + 0x24]
test ecx, ecx
jl 0x47bafb
test byte [esi + 8], 0x10
je 0x47bacf
test ecx, 0x200
je 0x47bafb
mov eax, ecx
and eax, 0xff
test ecx, 0x100
je 0x47baf0
mov edx, dword [esp + 0x3c]
movzx edx, byte [edx + eax]
cmp edx, eax
jne 0x47baf0
and ecx, 0xfffffeff
or word [esi + 0xc], 4
mov eax, ecx
mov word [esi + 0x16], ax
mov eax, esi
mov ecx, dword [esp + 0x109c]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0058ecc6
add esp, 0x1090
ret