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

Disassembly:
push 0xffffffffffffffff
push 0x481b6f
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x49b1b0]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov ebp, 7
mov dword [esp + 0x18], edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
mov dword [esp + 0x160], ebx
mov byte [esp + 0x8c], bl
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x90]
push ecx
mov byte [esp + 0x168], 1
call fcn.004157c0
call fcn.0040e730
mov edx, dword [edi + 0x1cc]
add edi, 0x1c8
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x34]
mov esi, edi
mov dword [esp + 0x18], 0xa
mov dword [esp + 0x28], edx
call fcn.0040b1e0
mov esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x40927c
cmp eax, edi
je 0x409281
call fcn.00469efa
mov ecx, dword [esp + 0x24]
cmp dword [esi + 4], ecx
jne 0x4092b3
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x164], bl
call fcn.00415680
cmp dword [esp + 0x6c], 8
jb 0x40970b
mov eax, dword [esp + 0x58]
push eax
jmp 0x409703
lea edx, [esp + 0x14]
mov eax, edi
mov dword [esp + 0x14], 0xa
call fcn.0040b160
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4092e1
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea esi, [esp + 0x78]
call fcn.00401df0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x54]
push ecx
mov edx, esi
push edx
push eax
mov esi, 0x7d0
mov byte [esp + 0x16c], 2
call fcn.004098d0
test al, al
jne 0x4093f0
mov ecx, dword [edi + 4]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x34]
mov esi, edi
mov dword [esp + 0x18], 0xb
mov dword [esp + 0x28], ecx
call fcn.0040b1e0
mov esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x40934d
cmp eax, edi
je 0x409352
call fcn.00469efa
mov eax, dword [esp + 0x24]
cmp dword [esi + 4], eax
je 0x4093f0
mov byte [esp + 0x160], 3
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x409376
lea eax, [esp + 0x58]
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x4093dc
mov eax, 0xb
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], eax
lea edx, [esp + 0x1c]
mov eax, edi
mov dword [esp + 0x20], ebx
call fcn.0040b160
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x30]
mov eax, edi
call fcn.0040b160
mov edx, dword [esp + 0x1c]
mov edi, dword [edx]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 4]
lea esi, [esp + 0x24]
call fcn.004154c0
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
mov byte [esp + 0x160], 2
je 0x4093f0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x78]
mov dword [eax + 0x18], ebp
mov dword [eax + 0x14], ebx
push ecx
mov word [eax + 4], bx
call fcn.00401c40
call fcn.0040ea10
add esp, 0x1c
push ebx
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x7c]
mov dword [eax + 0x18], ebp
mov dword [eax + 0x14], ebx
push edx
mov word [eax + 4], bx
call fcn.00401c40
mov edi, dword [esp + 0x38]
lea eax, [edi + 0x2f0]
push eax
call fcn.00401390
push 1
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x7c]
mov dword [eax + 0x18], ebp
mov dword [eax + 0x14], ebx
push ecx
mov word [eax + 4], bx
call fcn.00401c40
lea edx, [edi + 0x430]
push edx
call fcn.00401390
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x78]
mov dword [eax + 0x18], ebp
mov dword [eax + 0x14], ebx
push ecx
mov word [eax + 4], bx
call fcn.00401c40
lea edx, [edi + 0x574]
push edx
call fcn.00402590
lea eax, [edi + 0x71c]
push eax
lea ecx, [esp + 0x58]
call fcn.0040d7d0
xor esi, esi
mov dword [esp + 0x20], 0x2718
mov dword [esp + 0x24], 0x2719
mov dword [esp + 0x28], 0x271a
mov dword [esp + 0x2c], 0x2728
mov dword [esp + 0x14], esi
jmp 0x4094e4
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], bx
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], bx
mov dword [esp + 0xfc], ebp
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], bx
mov dword [esp + 0x118], ebp
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], bx
mov dword [esp + 0x134], ebp
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], bx
mov dword [esp + 0x150], ebp
mov dword [esp + 0x14c], ebx
mov word [esp + 0x13c], bx
lea ecx, [esp + 0xac]
push ecx
push esi
mov byte [esp + 0x168], 4
call fcn.0040f960
add esp, 8
test al, al
je 0x409696
mov edx, dword [esp + esi*4 + 0x20]
push edx
lea eax, [edi + 0x1c]
call fcn.0043cca0
mov esi, eax
cmp esi, ebx
je 0x409696
mov eax, dword [esi]
mov edx, dword [eax + 0xc4]
push 1
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x258]
push 1
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x144]
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call edx
lea eax, [esp + 0x138]
push eax
call fcn.0041d780
add esp, 4
test al, al
je 0x409733
push 0x3c4
call fcn.00469d66
add esp, 4
cmp eax, ebx
je 0x409602
call fcn.004326c0
mov edi, eax
jmp 0x409604
xor edi, edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
mov byte [esp + 0x160], 5
cmp dword [esp + 0x150], 8
mov eax, dword [esp + 0x13c]
jae 0x409631
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x3c]
push str.file_s
push ecx
call fcn.00417f20
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x40]
push edx
lea eax, [edi + 0x11c]
call fcn.00401c40
mov eax, dword [edi]
mov edx, dword [eax + 0x108]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xd4]
push 0x1c
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x1d0]
push edi
mov ecx, esi
call edx
cmp dword [esp + 0x50], 8
jb 0x409692
mov eax, dword [esp + 0x3c]
push eax
call fcn.00469d48
add esp, 4
mov edi, dword [esp + 0x18]
lea esi, [esp + 0xac]
call fcn.00409800
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, 4
mov dword [esp + 0x14], eax
jb 0x4094e0
mov esi, 8
cmp dword [esp + 0x88], esi
jb 0x4096d1
mov edx, dword [esp + 0x74]
push edx
call fcn.00469d48
add esp, 4
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
mov byte [esp + 0x164], bl
call fcn.00415680
cmp dword [esp + 0x6c], esi
jb 0x40970b
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00469d48
add esp, 4
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.00469ab5
add esp, 0x150
ret
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
push 0x6a
lea ecx, [esp + 0x3c]
push str.res_d_restypePNG_source0_0_13_13_dest0_9_13_22
push ecx
mov byte [esp + 0x16c], 6
call fcn.00417f20
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x40]
push edx
lea eax, [esi + 0x1c4]
call fcn.00401c40
push 0x6a
lea eax, [esp + 0x3c]
push str.res_d_restypePNG_source13_0_26_13_dest0_9_13_22
push eax
call fcn.00417f20
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
push ecx
lea eax, [esi + 0x1e0]
call fcn.00401c40
push 0x6a
lea edx, [esp + 0x3c]
push str.res_d_restypePNG_source26_0_39_13_dest0_9_13_22
push edx
call fcn.00417f20
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x40]
push eax
lea eax, [esi + 0x218]
call fcn.00401c40
mov eax, 0x12
mov dword [esi + 0xcc], eax
mov ecx, 9
xor edx, edx
cmp dword [esp + 0x50], 8
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xd4], edx
mov dword [esi + 0xd8], ebx
jb 0x409696
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00469d48
add esp, 4
jmp 0x409696