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

Disassembly:
push 0xffffffffffffffff
push 0x6803d5
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov esi, dword [esp + 0x118]
test esi, esi
mov ebp, dword [esp + 0x120]
mov eax, dword [esp + 0x124]
mov edi, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov byte [edi + 0x82], 0
je 0x478c29
mov ebx, dword [esp + 0x11c]
test ebx, ebx
je 0x478c29
cmp ebx, 6
jbe 0x478b93
push 6
push str._PDF_1
push esi
call fcn.0047e350
add esp, 0xc
test eax, eax
jne 0x478b93
push ebx
push esi
mov ecx, ebp
call fcn.00469150
jmp 0x478c2b
mov ebx, dword [esp + 0x1c]
movzx ecx, byte [ebx + 0x129]
push ecx
push str.EncConvert
push ebx
lea ecx, [esp + 0x34]
call fcn.004b1880
cmp byte [ebx + 0x129], 0
mov ebp, dword [esp + 0x114]
mov ebx, dword [esp + 0x110]
mov dword [esp + 0x108], 0
je 0x478bee
mov ecx, dword [esp + 0x1c]
push ebx
push str.fromCodePage
call fcn.004b14c0
mov ecx, dword [esp + 0x1c]
push ebp
push str.toCodePage
call fcn.004b14c0
test ebp, ebp
jne 0x478bfb
mov ebp, ebx
mov dword [esp + 0x114], ebp
test ebx, ebx
je 0x478c03
cmp ebx, ebp
jne 0x478c55
mov edx, dword [esp + 0x11c]
mov ecx, dword [esp + 0x20]
push edx
push esi
call fcn.00469150
lea ecx, [esp + 0x28]
mov dword [esp + 0x108], 0xffffffff
call fcn.004b18c0
mov al, 1
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.0062cbd3
add esp, 0xf8
ret 0x18
cmp ebx, 0x25
je 0x478c5f
cmp ebx, 0x64
jl 0x478cad
cmp ebp, 0x25
je 0x478c69
cmp ebp, 0x64
jl 0x478cad
lea ecx, [esp + 0x50]
call fcn.00468060
cmp ebx, 0x2714
mov byte [esp + 0x108], 1
jne 0x478f40
mov edi, dword [esp + 0x11c]
push edi
push esi
lea ecx, [esp + 0x58]
call fcn.00469150
test al, al
lea ecx, [esp + 0x50]
jne 0x478cc8
mov byte [esp + 0x108], 0
call fcn.00468860
lea ecx, [esp + 0x28]
mov dword [esp + 0x108], 0xffffffff
call fcn.004b18c0
xor al, al
jmp 0x478c2b
call fcn.00467d80
mov ebx, eax
xor ebp, ebp
cmp ebx, ebp
je 0x478ec6
lea ecx, [esp + 0x88]
mov byte [esp + 0x17], 0
mov dword [esp + 0x18], ebp
call fcn.00485650
cmp edi, ebp
mov byte [esp + 0x108], 2
jbe 0x478e21
mov edi, edi
cmp byte [esp + 0x17], 0
mov al, byte [ebx + ebp]
jne 0x478d2a
cmp al, 0x20
jb 0x478d94
movzx eax, al
cmp dword [eax*4 + 0x77f230], 0
je 0x478d94
mov byte [esp + 0x17], 1
mov dword [esp + 0x18], ebp
jmp 0x478d94
cmp al, 0x20
jb 0x478d3b
movzx ecx, al
cmp dword [ecx*4 + 0x77f230], 0
jne 0x478d94
mov esi, ebp
sub esi, dword [esp + 0x18]
cmp esi, 1
jle 0x478d8f
lea ecx, [esp + 0x88]
call fcn.00484ec0
mov edx, dword [esp + 0x18]
lea edi, [edx + ebx]
push esi
push edi
lea ecx, [esp + 0x90]
call fcn.004854b0
lea ecx, [esp + 0x88]
add esi, 0xffffffff
call fcn.00483ec0
test esi, esi
jl 0x478d8f
mov ecx, edi
lea esp, [esp]
mov dl, byte [eax + esi]
mov byte [ecx], dl
sub esi, 1
add ecx, 1
test esi, esi
jge 0x478d80
mov byte [esp + 0x17], 0
mov al, byte [ebx + ebp]
cmp al, 0xb0
jb 0x478d9f
cmp al, 0xb9
jbe 0x478db7
cmp al, 0xa0
jb 0x478ecf
cmp al, 0xaf
ja 0x478ecf
cmp al, 0xac
je 0x478dbc
cmp al, 0xa5
je 0x478dbc
add al, 0x80
mov byte [ebx + ebp], al
add ebp, 1
cmp ebp, dword [esp + 0x11c]
jb 0x478d00
cmp byte [esp + 0x17], 0
je 0x478e21
sub ebp, dword [esp + 0x18]
cmp ebp, 1
jle 0x478e21
lea ecx, [esp + 0x88]
call fcn.00484ec0
mov eax, dword [esp + 0x18]
lea edi, [eax + ebx]
push ebp
push edi
lea ecx, [esp + 0x90]
call fcn.004854b0
lea ecx, [esp + 0x88]
lea esi, [ebp - 1]
call fcn.00483ec0
test esi, esi
jl 0x478e21
mov ecx, edi
mov dl, byte [eax + esi]
mov byte [ecx], dl
sub esi, 1
add ecx, 1
test esi, esi
jge 0x478e12
lea ecx, [esp + 0x50]
call fcn.00467d80
lea ecx, [esp + 0x88]
mov esi, eax
mov byte [esp + 0x108], 1
call fcn.00485710
mov ebx, dword [esp + 0x110]
mov ebp, dword [esp + 0x114]
mov edi, dword [esp + 0x24]
cmp ebp, 0xfde8
mov byte [edi + 0x81], 0
mov dword [edi + 0x78], ebx
mov dword [edi + 0x7c], ebp
jne 0x479124
lea ecx, [esp + 0x34]
call fcn.00468060
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x11c]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
push esi
mov byte [esp + 0x118], 7
call fcn.004b10e0
neg al
mov ecx, edi
sbb eax, eax
add eax, 0x4b1
push eax
push ebx
call fcn.00477e40
test al, al
jne 0x4790fa
lea ecx, [esp + 0x34]
mov byte [edi + 0x82], 1
mov byte [esp + 0x108], 1
call fcn.00468860
lea ecx, [esp + 0x50]
jmp 0x478ca0
cmp al, 0xba
je 0x478db7
cmp al, 0xbc
je 0x478db7
cmp al, 0xbd
je 0x478db7
cmp al, 0xbe
je 0x478db7
cmp al, 0xdb
je 0x478db7
cmp al, 0xdc
je 0x478db7
cmp al, 0xdd
je 0x478db7
cmp al, 0xde
je 0x478db7
cmp al, 0xdf
je 0x478db7
cmp al, 0xfb
je 0x478db7
cmp al, 0xfc
je 0x478db7
cmp al, 0xfd
je 0x478db7
cmp al, 0x81
jne 0x478dbc
mov byte [ebx + ebp], 0xa0
jmp 0x478dbc
lea eax, [ebx - 0xc42c]
cmp eax, 2
ja 0x479049
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x129], 0
je 0x478f68
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push str.Converting_from_iso_2022_
call eax
lea ecx, [esp + 0x18]
call fcn.004c7f30
lea ecx, [esp + 0x34]
mov byte [esp + 0x108], 3
call fcn.00468060
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x11c]
push edi
lea ecx, [esp + 0x38]
push ecx
push edx
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], 4
call fcn.004c8840
lea ecx, [esp + 0x34]
mov bl, 1
call fcn.00544a30
test eax, eax
je 0x478ffb
mov esi, dword [esp + 0x114]
cmp esi, 0x3a4
lea ecx, [esp + 0x34]
je 0x478fef
mov eax, dword [esp + 0x20]
push edi
push eax
call fcn.00544a30
push eax
lea ecx, [esp + 0x40]
call fcn.00467d80
mov ecx, dword [esp + 0x30]
push eax
push esi
push 0x3a4
call fcn.00478af0
jmp 0x478ff9
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0046ad20
mov bl, al
lea ecx, [esp + 0x34]
mov byte [esp + 0x108], 3
call fcn.00468860
lea ecx, [esp + 0x18]
mov byte [esp + 0x108], 1
call fcn.004c7f40
lea ecx, [esp + 0x50]
mov byte [esp + 0x108], 0
call fcn.00468860
lea ecx, [esp + 0x28]
mov dword [esp + 0x108], 0xffffffff
call fcn.004b18c0
mov al, bl
jmp 0x478c2b
cmp ebx, 0xc431
jne 0x478e52
lea ecx, [esp + 0x18]
call fcn.004c7c10
lea ecx, [esp + 0x34]
mov byte [esp + 0x108], 5
call fcn.00468060
mov eax, dword [esp + 0x11c]
lea edx, [esp + 0x34]
push edx
push eax
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x114], 6
call fcn.004c7c30
lea ecx, [esp + 0x34]
mov bl, 1
call fcn.00544a30
test eax, eax
je 0x4790d3
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.00544a30
push eax
lea ecx, [esp + 0x40]
call fcn.00467d80
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x124]
push eax
push 0x3b5
call fcn.00478af0
mov bl, al
lea ecx, [esp + 0x34]
mov byte [esp + 0x108], 5
call fcn.00468860
lea ecx, [esp + 0x18]
mov byte [esp + 0x108], 1
call fcn.004c7c20
jmp 0x47901d
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.004c7740
add esp, 8
lea ecx, [esp + 0x34]
mov bl, al
mov byte [esp + 0x108], 1
call fcn.00468860
jmp 0x47901d
cmp ebp, 0x2ee0
je 0x4793e9
cmp ebp, 0x2ee1
je 0x4793e9
cmp ebp, 0xfded
je 0x4793e9
cmp ebp, 0xfdee
je 0x4793e9
cmp ebp, 0x4b1
jne 0x479248
lea ecx, [esp + 0x34]
mov dword [edi + 0x7c], 0x4b0
call fcn.00468060
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x11c]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
push esi
push 0x4b0
push ebx
mov ecx, edi
mov byte [esp + 0x120], 0xa
call fcn.00477e40
test al, al
jne 0x4791a3
mov byte [edi + 0x82], 1
lea ecx, [esp + 0x34]
call fcn.00544a30
mov esi, eax
shr esi, 1
je 0x479221
lea ecx, [esp + 0x34]
call fcn.00467d80
test eax, eax
je 0x479221
lea eax, [esi + esi + 4]
push eax
lea ebp, [esi + esi]
call fcn.0047e520
mov edi, eax
add esp, 4
test edi, edi
lea ecx, [esp + 0x34]
jne 0x4791ef
mov byte [esp + 0x108], 1
call fcn.00468860
lea ecx, [esp + 0x50]
jmp 0x478ca0
call fcn.00467d80
mov ecx, edi
movzx edx, byte [eax + 1]
mov byte [ecx], dl
movzx edx, byte [eax]
mov byte [ecx + 1], dl
add eax, 2
add ecx, 2
sub esi, 1
jne 0x4791f6
mov ecx, dword [esp + 0x20]
push ebp
push edi
call fcn.00469150
push edi
call fcn.006092e0
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x108], 1
call fcn.00468860
lea ecx, [esp + 0x50]
mov byte [esp + 0x108], 0
call fcn.00468860
jmp 0x478c15
lea eax, [ebp - 0xc42c]
cmp eax, 2
ja 0x479308
lea ecx, [esp + 0x34]
call fcn.00468060
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x11c]
mov eax, dword [esp + 0x110]
push edi
lea ecx, [esp + 0x38]
push ecx
push edx
push esi
mov esi, dword [esp + 0x34]
push 0x3a4
push eax
mov ecx, esi
mov byte [esp + 0x120], 0xb
call fcn.00477e40
mov bl, al
test bl, bl
jne 0x4792a0
mov byte [esi + 0x82], 1
lea ecx, [esp + 0x34]
call fcn.00544a30
test eax, eax
je 0x4792f2
lea ecx, [esp + 0x18]
call fcn.004c7f30
mov ecx, dword [esp + 0x20]
push edi
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x110], 0xc
call fcn.00544a30
push eax
lea ecx, [esp + 0x40]
call fcn.00467d80
push eax
lea ecx, [esp + 0x28]
call fcn.004c8110
lea ecx, [esp + 0x18]
mov byte [esp + 0x108], 0xb
call fcn.004c7f40
lea ecx, [esp + 0x34]
mov byte [esp + 0x108], 1
call fcn.00468860
jmp 0x47901d
cmp ebp, 0xc431
jne 0x4793bd
lea ecx, [esp + 0x6c]
call fcn.00468060
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x11c]
push edx
lea eax, [esp + 0x70]
push eax
push ecx
push esi
mov esi, dword [esp + 0x34]
push 0x3b5
push ebx
mov ecx, esi
mov byte [esp + 0x120], 0xd
call fcn.00477e40
mov bl, al
test bl, bl
jne 0x479356
mov byte [esi + 0x82], 1
lea ecx, [esp + 0x6c]
call fcn.00544a30
test eax, eax
je 0x4793a7
lea ecx, [esp + 0x24]
call fcn.004c7c10
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x70]
mov byte [esp + 0x10c], 0xe
call fcn.00544a30
push eax
lea ecx, [esp + 0x74]
call fcn.00467d80
push eax
lea ecx, [esp + 0x30]
call fcn.004c7d90
lea ecx, [esp + 0x24]
mov byte [esp + 0x108], 0xd
call fcn.004c7c20
lea ecx, [esp + 0x6c]
mov byte [esp + 0x108], 1
call fcn.00468860
jmp 0x47901d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x11c]
push eax
mov eax, dword [esp + 0x118]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push esi
push eax
push ebx
call fcn.00477e40
mov bl, al
jmp 0x47901d
lea ecx, [esp + 0x34]
call fcn.00468060
cmp ebx, 0xfde9
jne 0x479458
mov ecx, dword [esp + 0x11c]
push ecx
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x110], 8
call fcn.00468b20
cmp ebp, 0xfdee
je 0x479428
cmp ebp, 0x2ee1
je 0x479428
xor al, al
jmp 0x47942d
mov eax, 1
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.004c6af0
add esp, 0xc
lea ecx, [esp + 0x34]
mov bl, al
mov byte [esp + 0x108], 1
call fcn.00468860
jmp 0x47901d
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x11c]
push edx
lea eax, [esp + 0x38]
push eax
push ecx
push esi
push 0xfde9
push ebx
mov ecx, edi
mov byte [esp + 0x120], 9
call fcn.00477e40
test al, al
jne 0x479414
jmp 0x478eae