Function at 0x471880
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e6d58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
push 2
mov dword [esp + 0x40], esi
mov dword [esp + 0x64], edi
call fcn.00445f00
add esp, 4
cmp eax, edi
mov dword [esp + 0x60], eax
je 0x4718bd
mov word [eax], di
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], edi
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x78], edi
call fcn.0043f2e0
push 2
call fcn.00445f00
add esp, 8
cmp eax, edi
mov dword [esp + 0x24], eax
je 0x4718e8
mov word [eax], di
push 2
call fcn.00445f00
add esp, 4
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x4718fd
mov word [eax], di
push 2
call fcn.00445f00
add esp, 4
cmp eax, edi
mov dword [esp + 0x28], eax
je 0x471912
mov word [eax], di
push 2
call fcn.00445f00
add esp, 4
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x471927
mov word [eax], di
mov ecx, dword [esp + 0x7c]
push 1
push 0x2c
lea edx, [esp + 0x40]
mov dword [esp + 0x40], ecx
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x80], 4
call fcn.0045a420
push edi
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.00449370
mov edx, dword [esp + 0x30]
xor eax, eax
mov ax, word [edx]
add esp, 0xc
xor esi, esi
cmp ax, di
mov byte [esp + 0x13], 0
mov byte [esp + 0x16], 0
mov ecx, edx
je 0x47199e
cmp ax, 9
jb 0x471980
cmp ax, 0xd
jbe 0x471986
cmp ax, 0x20
jne 0x471988
mov esi, ecx
mov ax, word [ecx + 2]
add ecx, 2
cmp ax, di
jne 0x471974
cmp esi, edi
je 0x47199e
mov word [esi], di
add esi, 2
cmp esi, edi
mov ecx, edx
je 0x471a26
cmp word [edx], 0x2a
jne 0x471a26
mov edi, edi
cmp word [ecx + 2], 0x2d
je 0x471a26
mov eax, ecx
mov edx, str.nobom
mov edi, 5
movzx ebx, word [eax]
movsx ebp, byte [edx]
or ebx, 0x20
or ebp, 0x20
add eax, 2
inc edx
cmp ebp, ebx
jne 0x471c27
dec edi
jns 0x4719c3
mov ax, word [eax]
cmp ax, 9
jb 0x4719ed
cmp ax, 0xd
jbe 0x4719fc
cmp ax, 0x20
je 0x4719fc
test ax, ax
jne 0x471c27
add ecx, 0xc
je 0x471a1b
mov ax, word [ecx]
cmp ax, 9
jb 0x471a10
cmp ax, 0xd
jbe 0x471a16
cmp ax, 0x20
jne 0x471a1b
add ecx, 2
jmp 0x471a01
mov byte [esp + 0x16], 1
cmp word [ecx], 0x2a
je 0x4719b0
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
xor bl, bl
test esi, esi
mov byte [esp + 0x15], 0
mov byte [esp + 0x11], bl
mov byte [esp + 0x17], bl
mov byte [esp + 0x10], bl
mov byte [esp + 0x12], bl
mov byte [esp + 0x14], bl
je 0x471a8e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
lea edx, [edi + 2]
push edx
call fcn.00445f00
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
add esp, 4
test ecx, ecx
mov dword [esp + 0x24], eax
je 0x471a8e
mov eax, dword [0x51927c]
add ecx, 0xfffffff8
push ecx
push 0
push eax
call ebp
mov eax, dword [esp + 0x38]
cmp word [eax], 0x2c
lea ecx, [eax + 2]
mov dword [esp + 0x5c], ecx
jne 0x471b9f
push 1
mov edx, ecx
push 0x2c
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x44], edx
call fcn.0045a420
mov ecx, dword [eax]
cmp word [ecx], 0
mov esi, ecx
je 0x471ad8
mov ecx, dword [eax]
cmp word [ecx], 0
je 0x471ad8
add ecx, 2
mov dword [eax], ecx
cmp word [ecx], 0
jne 0x471ac5
mov ebx, dword [eax]
sub ebx, esi
sar ebx, 1
lea edi, [ebx + 1]
test edi, edi
jge 0x471aee
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
mov edx, dword [esp + 0x1c]
lea eax, [edi + edi + 4]
push edx
call fcn.00445f60
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
je 0x471b0e
mov word [eax + edi*2 + 2], 0
lea eax, [edi + edi]
mov edi, dword [esp + 0x1c]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov word [eax + ecx], 0
mov eax, dword [esp + 0x38]
mov word [ecx + ebx*2], 0
cmp word [eax], 0x2c
mov bl, byte [esp + 0x11]
jne 0x471b9f
add eax, 2
push 1
mov dword [esp + 0x3c], eax
push 0x2c
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x6c]
call fcn.0045a420
push 0
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.00449370
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp word [eax], 0x2c
jne 0x471b9f
push 1
push 0x2c
lea edx, [esp + 0x40]
add eax, 2
push edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x44], eax
call fcn.0045a420
push 0
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.00449370
add esp, 0xc
mov edi, dword [esp + 0x24]
mov ax, word [edi]
test ax, ax
mov esi, dword [esp + 0x1c]
je 0x4728ee
cmp word [esi], 0
je 0x4728ee
mov edx, dword [esp + 0x28]
cmp word [edx], 0
je 0x4728ee
mov ecx, dword [esp + 0x18]
cmp word [ecx], 0
je 0x4728ee
mov esi, dword [esp + 0x24]
xor ecx, ecx
cmp ax, 0x2a
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], ecx
mov edi, edx
mov byte [esp + 0x11], cl
jne 0x471cef
cmp word [esi + 2], ax
jne 0x471cde
mov al, byte [esi]
mov byte [esp + 0x17], al
add esi, 4
jmp 0x471ce9
mov eax, ecx
mov edx, str.transonly
mov edi, 9
movzx ebx, word [eax]
movsx ebp, byte [edx]
or ebx, 0x20
or ebp, 0x20
add eax, 2
inc edx
cmp ebp, ebx
jne 0x471c94
dec edi
jns 0x471c33
mov ax, word [eax]
cmp ax, 9
jb 0x471c59
cmp ax, 0xd
jbe 0x471c64
cmp ax, 0x20
je 0x471c64
test ax, ax
jne 0x471c94
add ecx, 0x14
je 0x471c8a
lea esp, [esp]
mov ax, word [ecx]
cmp ax, 9
jb 0x471c7f
cmp ax, 0xd
jbe 0x471c85
cmp ax, 0x20
jne 0x471c8a
add ecx, 2
jmp 0x471c70
mov byte [esp + 0x13], 1
jmp 0x471a20
mov ax, word [ecx]
test ax, ax
je 0x471cc0
lea esp, [esp]
cmp ax, 9
jb 0x471cac
cmp ax, 0xd
jbe 0x471cc0
cmp ax, 0x20
je 0x471cc0
mov ax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x471ca0
mov edi, edi
mov ax, word [ecx]
cmp ax, 9
jb 0x471ccf
cmp ax, 0xd
jbe 0x471cd9
cmp ax, 0x20
jne 0x471a20
add ecx, 2
jmp 0x471cc0
cmp ax, 0x2a
jne 0x471cef
mov al, byte [esi]
add esi, 2
mov byte [esp + 0x15], al
mov bl, al
cmp word [esi], 0x2d
jne 0x471cfa
mov bl, byte [esi]
add esi, 2
test bl, bl
jne 0x471d7d
mov edx, dword [esp + 0x18]
mov eax, dword [0x51927c]
add edx, 0xfffffff8
push edx
push 0
push eax
call ebp
mov ecx, dword [esp + 0x28]
mov edx, dword [0x51927c]
add ecx, 0xfffffff8
push ecx
push 0
push edx
call ebp
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push ecx
call ebp
mov edx, dword [esp + 0x24]
mov eax, dword [0x51927c]
add edx, 0xfffffff8
push edx
push 0
push eax
call ebp
mov eax, dword [esp + 0x60]
test eax, eax
je 0x471d63
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push ecx
call ebp
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 8
push esi
push 0x4f60d4
call fcn.00440490
add esp, 8
test al, al
mov ebx, 0x4b0
mov ebp, 0x4b1
je 0x471da3
mov byte [esp + 0x11], 1
jmp 0x471ed6
push esi
push str.ANSI
call fcn.00440490
add esp, 8
test al, al
je 0x471dc2
mov dword [esp + 0x34], 0
jmp 0x471ed6
push esi
push 0x4f60d0
call fcn.00440490
add esp, 8
test al, al
je 0x471de1
mov dword [esp + 0x34], 0x3a8
jmp 0x471ed6
push esi
push str.BIG5
call fcn.00440490
add esp, 8
test al, al
je 0x471e00
mov dword [esp + 0x34], 0x3b6
jmp 0x471ed6
push esi
push str.UTF8
call fcn.00440490
add esp, 8
test al, al
je 0x471e1f
mov dword [esp + 0x34], 0xfde9
jmp 0x471ed6
push esi
push str.UTF7
call fcn.00440490
add esp, 8
test al, al
je 0x471e3e
mov dword [esp + 0x34], 0xfde8
jmp 0x471ed6
push esi
push str.UNICODE
call fcn.00440490
add esp, 8
test al, al
je 0x471e59
mov dword [esp + 0x30], ebx
jmp 0x471ed6
push esi
push 0x4efc40
call fcn.00440490
add esp, 8
test al, al
je 0x471e71
mov dword [esp + 0x30], ebx
jmp 0x471ed6
push esi
push str.UNICODEB
call fcn.00440490
add esp, 8
test al, al
je 0x471e89
mov dword [esp + 0x30], ebp
jmp 0x471ed6
push esi
push str.UNIB
call fcn.00440490
add esp, 8
test al, al
je 0x471ea1
mov dword [esp + 0x30], ebp
jmp 0x471ed6
xor ecx, ecx
mov cx, word [esi]
mov eax, ecx
call fcn.00445b20
test al, al
je 0x471ec0
push esi
call fcn.00447090
add esp, 4
mov dword [esp + 0x34], eax
jmp 0x471ed6
test cx, cx
jne 0x4728a7
mov eax, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x28]
mov ax, word [ecx]
cmp ax, 0x2a
jne 0x471f05
cmp word [ecx + 2], ax
jne 0x471ef2
mov byte [esp + 0x14], al
lea edi, [ecx + 4]
jmp 0x471efd
cmp ax, 0x2a
jne 0x471f05
mov al, byte [ecx]
lea edi, [ecx + 2]
mov byte [esp + 0x10], al
mov byte [esp + 0x12], al
cmp word [edi], 0x2d
mov ebp, 2
jne 0x471f18
mov dl, byte [edi]
mov byte [esp + 0x12], dl
add edi, ebp
mov al, byte [esp + 0x12]
test al, al
je 0x4728a7
push edi
push str.ANSI
call fcn.00440490
add esp, 8
test al, al
mov esi, 0x4f3220
mov ebx, 0x4f3224
je 0x471f4d
mov dword [esp + 0x44], 0
jmp 0x4720a4
push edi
push 0x4f60d0
call fcn.00440490
add esp, 8
test al, al
je 0x471f6c
mov dword [esp + 0x44], 0x3a8
jmp 0x4720a4
push edi
push str.BIG5
call fcn.00440490
add esp, 8
test al, al
je 0x471f8b
mov dword [esp + 0x44], 0x3b6
jmp 0x4720a4
push edi
push str.UTF8
call fcn.00440490
add esp, 8
test al, al
je 0x471fba
mov dword [esp + 0x44], 0xfde9
mov dword [esp + 0x48], 0x4f3228
mov dword [esp + 0x50], 3
jmp 0x4720a4
push edi
push str.UTF7
call fcn.00440490
add esp, 8
test al, al
je 0x471fd9
mov dword [esp + 0x44], 0xfde8
jmp 0x4720a4
push edi
push str.UNICODE
call fcn.00440490
add esp, 8
test al, al
je 0x472000
mov dword [esp + 0x4c], 0x4b0
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], ebp
jmp 0x4720a4
push edi
push 0x4efc40
call fcn.00440490
add esp, 8
test al, al
je 0x472027
mov dword [esp + 0x4c], 0x4b0
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], ebp
jmp 0x4720a4
push edi
push str.UNICODEB
call fcn.00440490
add esp, 8
test al, al
je 0x47204b
mov dword [esp + 0x4c], 0x4b1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ebp
jmp 0x4720a4
push edi
push str.UNIB
call fcn.00440490
add esp, 8
test al, al
je 0x47206f
mov dword [esp + 0x4c], 0x4b1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ebp
jmp 0x4720a4
xor ecx, ecx
mov cx, word [edi]
mov eax, ecx
call fcn.00445b20
test al, al
je 0x47208e
push edi
call fcn.00447090
add esp, 4
mov dword [esp + 0x44], eax
jmp 0x4720a4
test cx, cx
jne 0x4728a7
mov eax, 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov al, byte [esp + 0x16]
test al, al
je 0x4720b4
mov dword [esp + 0x48], 0
xor ebx, ebx
mov dword [esp + 0x2c], ebx
push ebp
call fcn.00445f00
add esp, 4
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x4720cd
mov byte [eax], bl
mov al, byte [esp + 0x15]
test al, al
mov byte [esp + 0x74], 6
mov byte [esp + 0x12], 0
jne 0x47229b
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x5c]
push 1
push 0x2c
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x80], 7
mov dword [esp + 0x44], eax
call fcn.0045a420
push 0
lea edx, [esp + 0x20]
push edx
push eax
call fcn.00449370
mov eax, dword [esp + 0x28]
push eax
call fcn.0042063d
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocStringLen
push eax
lea ecx, [esp + 0x5c]
call fcn.004167bc
mov esi, dword [esp + 0x40]
test esi, esi
lea ecx, [esp + 0x40]
je 0x4721b5
push 2
push 0
push 0
call fcn.00445e00
lea ecx, [esp + 0x40]
call fcn.00445e40
push 0
push 0
push 0
lea ecx, [esp + 0x4c]
mov edi, eax
call fcn.00445e00
lea ecx, [edi + 0xa]
push ecx
lea ecx, [esp + 0x24]
call fcn.004460b0
mov ebp, dword [esp + 0x20]
push 0
lea edx, [esp + 0x60]
push edx
push edi
mov byte [ebp + 2], 0
mov byte [ebp + 1], 0
push ebp
mov byte [ebp], 0
push esi
mov dword [esp + 0x70], 0xffffffff
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [esp + 0x5c]
test ebx, ebx
jge 0x4721bf
lea ecx, [esp + 0x40]
call fcn.004167b7
jmp 0x47255a
lea eax, [ebx + ebp]
mov byte [eax + 2], 0
mov byte [eax + 1], 0
mov byte [eax], 0
mov al, byte [esp + 0x11]
xor esi, esi
test al, al
jne 0x4721e1
cmp dword [esp + 0x30], 0x4b0
jne 0x47220d
mov eax, 2
mov edx, 0x4f3220
mov ecx, ebp
call fcn.004465f0
test eax, eax
je 0x472205
mov dword [esp + 0x30], 0x4b0
mov esi, 2
jmp 0x47226f
mov al, byte [esp + 0x11]
test al, al
jne 0x472217
cmp dword [esp + 0x30], 0x4b1
jne 0x472243
mov eax, 2
mov edx, 0x4f3224
mov ecx, ebp
call fcn.004465f0
test eax, eax
je 0x47223b
mov dword [esp + 0x30], 0x4b1
mov esi, 2
jmp 0x47226f
mov al, byte [esp + 0x11]
test al, al
jne 0x47224d
cmp dword [esp + 0x34], 0xfde9
jne 0x472282
mov eax, 3
mov edx, 0x4f3228
mov ecx, ebp
call fcn.004465f0
test eax, eax
je 0x472282
mov dword [esp + 0x34], 0xfde9
mov esi, 3
sub edi, esi
add edi, 3
push edi
lea eax, [esi + ebp]
push eax
push ebp
call fcn.004aee50
add esp, 0xc
sub ebx, esi
jns 0x472288
xor ebx, ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 6
call fcn.004167b7
jmp 0x47237b
mov al, byte [esp + 0x17]
test al, al
je 0x472330
mov esi, dword [esp + 0x3c]
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.004152c8
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
push 0
push edx
mov ecx, esi
call fcn.0041e533
mov esi, eax
test esi, esi
lea ecx, [esp + 0x20]
je 0x472319
mov ebx, dword [esi + 0xc]
and ebx, 0x3fffffff
lea eax, [ebx + 8]
push eax
call fcn.004460b0
mov ebp, dword [esp + 0x20]
xor ecx, ecx
lea edx, [ebx + ebp]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov esi, dword [esi + 4]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edx, [ebx + ebp]
xor ecx, ecx
mov dword [edx], ecx
mov byte [esp + 0x12], 1
mov dword [edx + 4], ecx
jmp 0x47237b
push 8
call fcn.004460b0
mov ebp, dword [esp + 0x20]
lea edx, [ebx + ebp]
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
jmp 0x47237b
cmp dword [esp + 0x58], ebx
je 0x47235e
mov esi, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x24]
call fcn.004575a0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
shl ebx, 1
lea eax, [ebx + 8]
push eax
lea ecx, [esp + 0x24]
call fcn.004460b0
jmp 0x472372
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0044b080
add esp, 8
mov ebx, eax
mov ebp, dword [esp + 0x20]
mov byte [esp + 0x12], 2
test ebx, ebx
jl 0x47255a
mov al, byte [esp + 0x11]
test al, al
je 0x472422
mov al, byte [esp + 0x12]
test al, al
je 0x472422
mov eax, 2
mov edx, 0x4f3220
mov ecx, ebp
xor esi, esi
call fcn.004465f0
test eax, eax
je 0x4723c1
mov dword [esp + 0x30], 0x4b0
mov esi, 2
jmp 0x472407
mov eax, 2
mov edx, 0x4f3224
mov ecx, ebp
call fcn.004465f0
test eax, eax
je 0x4723e5
mov dword [esp + 0x30], 0x4b1
mov esi, 2
jmp 0x472407
mov eax, 3
mov edx, 0x4f3228
mov ecx, ebp
call fcn.004465f0
test eax, eax
je 0x47241c
mov dword [esp + 0x34], 0xfde9
mov esi, 3
mov eax, ebx
sub eax, esi
add eax, 4
push eax
lea ecx, [esi + ebp]
push ecx
push ebp
call fcn.004aee50
add esp, 0xc
sub ebx, esi
jns 0x472422
xor ebx, ebx
lea ecx, [esp + 0x38]
mov edi, ebp
mov dword [esp + 0x5c], ebp
call fcn.00446250
mov esi, dword [esp + 0x44]
cmp esi, dword [esp + 0x34]
mov byte [esp + 0x74], 8
jne 0x4724f5
mov edx, dword [esp + 0x4c]
cmp edx, dword [esp + 0x30]
jne 0x4724f5
mov al, byte [esp + 0x14]
test al, al
je 0x47247a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
push 0
lea eax, [esp + 0x1c]
push eax
push ebx
push ebp
push ecx
push edx
call fcn.0045f260
add esp, 0x18
jmp 0x472848
mov al, byte [esp + 0x10]
test al, al
jne 0x472492
push ebx
push ebp
lea ecx, [esp + 0x34]
call fcn.0043f210
jmp 0x472848
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x4724c1
push ebx
lea eax, [esp + 0x3c]
push ebp
push eax
call fcn.0044afd0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
add esp, 0xc
push ecx
mov ecx, dword [esp + 0x40]
push edx
call fcn.00444550
jmp 0x472848
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4724e1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00444550
jmp 0x472848
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
push ebp
push edx
call fcn.00444550
jmp 0x472848
cmp dword [esp + 0x30], 0x4b1
jne 0x472514
push ebx
push ebp
mov dword [esp + 0x38], 0x4b0
call fcn.004431b0
add esp, 8
and ebx, 0xfffffffe
mov al, byte [esp + 0x10]
test al, al
jne 0x47259e
mov eax, dword [esp + 0x18]
push eax
call fcn.0042063d
add esp, 4
push 0
push 0x80
push 4
push 0
push 7
push 0x40000000
push eax
lea ecx, [esp + 0x48]
call fcn.004167bc
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x47259e
lea ecx, [esp + 0x38]
call fcn.0043f290
lea ecx, [esp + 0x20]
call fcn.0043f290
lea ecx, [esp + 0x2c]
call fcn.004167b7
lea ecx, [esp + 0x18]
call fcn.0043f290
lea ecx, [esp + 0x28]
call fcn.0043f290
lea ecx, [esp + 0x1c]
call fcn.0043f290
lea ecx, [esp + 0x24]
call fcn.0043f290
lea ecx, [esp + 0x60]
call fcn.0043f290
jmp 0x472954
mov dword [esp + 0x58], 0
cmp esi, 0x3a8
mov byte [esp + 0x74], 9
jne 0x4725bd
cmp dword [esp + 0x34], 0x3b6
je 0x4725d7
cmp dword [esp + 0x34], 0x3a8
jne 0x472655
cmp esi, 0x3b6
jne 0x472655
mov al, byte [esp + 0x13]
test al, al
je 0x4725e4
mov byte [esp + 0x13], 3
lea ecx, [esp + 0x40]
call fcn.00446060
xor ecx, ecx
cmp esi, 0x3b6
sete cl
lea edx, [esp + 0x40]
push ecx
push edx
push ebp
call fcn.0044b140
mov eax, ebp
mov ebp, dword [esp + 0x4c]
add esp, 0xc
push ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
cmp byte [esp + 0x13], 3
mov edi, ebp
jne 0x47264c
mov al, byte [esp + 0x10]
test al, al
jne 0x47264c
test ebx, ebx
jle 0x47263e
push ebx
push ebp
lea ecx, [esp + 0x34]
call fcn.0043f210
lea ecx, [esp + 0x40]
call fcn.0043f290
jmp 0x472830
lea ecx, [esp + 0x40]
call fcn.0043f290
mov eax, dword [esp + 0x30]
mov esi, ebx
shr esi, 1
test eax, eax
jne 0x47269b
lea esi, [ebx + 0xa]
lea eax, [esi + 0xa]
push eax
lea ecx, [esp + 0x3c]
call fcn.004462b0
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push esi
push edi
push ebx
push ebp
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jge 0x47268e
xor esi, esi
lea ebx, [esi + esi]
mov dword [esp + 0x5c], edi
mov word [ebx + edi], 0
mov eax, dword [esp + 0x4c]
cmp eax, 0x4b1
jne 0x4726b2
push ebx
push edi
call fcn.004431b0
add esp, 8
jmp 0x4726ba
test eax, eax
jle 0x472762
mov al, byte [esp + 0x14]
test al, al
je 0x4726e2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
push 0
lea edx, [esp + 0x1c]
push edx
push ebx
push edi
push eax
push ecx
call fcn.0045f260
add esp, 0x18
jmp 0x47283f
mov al, byte [esp + 0x10]
test al, al
jne 0x472719
test ebx, ebx
jle 0x472830
mov eax, dword [esp + 0x48]
test eax, eax
je 0x472709
mov edx, dword [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.0043f210
push ebx
push edi
lea ecx, [esp + 0x34]
call fcn.0043f210
jmp 0x472830
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x47276a
lea ecx, [esp + 0x54]
call fcn.00446250
push esi
lea eax, [esp + 0x58]
push edi
push eax
mov byte [esp + 0x80], 0xa
call fcn.0044b050
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x24]
add esp, 0xc
push ecx
mov ecx, dword [esp + 0x40]
push edx
call fcn.00444550
lea ecx, [esp + 0x54]
call fcn.0043f290
jmp 0x472830
mov eax, dword [esp + 0x54]
test eax, eax
je 0x472773
mov eax, dword [esp + 0x5c]
jmp 0x472821
shr ebx, 1
lea esi, [ebx + ebx*2]
lea esi, [esi + esi + 0xa]
lea edx, [esi + 1]
push edx
lea ecx, [esp + 0x5c]
call fcn.004460b0
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
push 0
push 0
push esi
push ebp
push ebx
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
test esi, esi
jge 0x4727aa
xor esi, esi
mov al, byte [esp + 0x10]
test al, al
mov byte [esi + ebp], 0
jne 0x4727e2
test esi, esi
jle 0x472830
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4727d5
mov ecx, dword [esp + 0x50]
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.0043f210
push esi
push ebp
lea ecx, [esp + 0x34]
call fcn.0043f210
jmp 0x472830
mov al, byte [esp + 0x14]
test al, al
je 0x47280e
push 0
lea edx, [esp + 0x1c]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x24]
push ebp
push eax
push ecx
call fcn.0045f260
add esp, 0x18
jmp 0x472830
push esi
lea edx, [esp + 0x3c]
push ebp
push edx
call fcn.0044afd0
mov eax, dword [esp + 0x44]
add esp, 0xc
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00444550
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x47283f
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea ecx, [esp + 0x58]
call fcn.0043f290
lea ecx, [esp + 0x38]
call fcn.0043f290
lea ecx, [esp + 0x20]
call fcn.0043f290
lea ecx, [esp + 0x2c]
call fcn.004167b7
lea ecx, [esp + 0x18]
call fcn.0043f290
lea ecx, [esp + 0x28]
call fcn.0043f290
lea ecx, [esp + 0x1c]
call fcn.0043f290
lea ecx, [esp + 0x24]
call fcn.0043f290
lea ecx, [esp + 0x60]
call fcn.0043f290
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 8
lea ecx, [esp + 0x18]
call fcn.0043f290
lea ecx, [esp + 0x28]
call fcn.0043f290
lea ecx, [esp + 0x1c]
call fcn.0043f290
lea ecx, [esp + 0x24]
call fcn.0043f290
lea ecx, [esp + 0x60]
call fcn.0043f290
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x472905
mov edx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push edx
call ebp
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47291c
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push ecx
call ebp
test esi, esi
je 0x47292f
mov edx, dword [0x51927c]
add esi, 0xfffffff8
push esi
push 0
push edx
call ebp
mov eax, dword [0x51927c]
add edi, 0xfffffff8
push edi
push 0
push eax
call ebp
mov eax, dword [esp + 0x60]
test eax, eax
je 0x472954
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push ecx
call ebp
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 8