Function at 0x45d3a0
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5b329b
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x62c930]
xor eax, esp
mov dword [esp + 0x310], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62c930]
xor eax, esp
push eax
lea eax, [esp + 0x328]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x2c], edi
cmp edi, ebx
jne 0x45d628
mov edx, dword [0x62e978]
push 0xffffffffffffffff
lea eax, [esp + 0x74]
xor ecx, ecx
push edx
lea esi, [esp + 0x74]
mov dword [esp + 0x74], eax
mov word [esp + 0x78], cx
call fcn.00444050
mov dword [esp + 0x330], ebx
mov eax, dword [0x62ea00]
cmp word [eax], bx
jne 0x45d4f8
mov eax, dword [esp + 0x338]
cmp eax, ebx
je 0x45d437
push eax
mov eax, esi
push eax
call fcn.00443f10
mov ecx, dword [esp + 0x6c]
push ebx
push 0x80
push 3
push ebx
push 1
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
or edi, 0xffffffff
cmp ebp, edi
jne 0x45d480
mov dword [esp + 0x330], edi
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x70]
cmp eax, edx
je 0x45d727
push eax
call fcn.0058622f
add esp, 4
jmp 0x45d727
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x45d4b3
mov dword [esp + 0x330], edi
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x70]
cmp eax, ecx
je 0x45d727
push eax
call fcn.0058622f
add esp, 4
jmp 0x45d727
push esi
mov dword [esp + 0x24], ebx
call fcn.005759c5
add esp, 4
push ebx
lea edx, [esp + 0x24]
push edx
push esi
mov edi, eax
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x20], esi
je 0x45d5ff
push edi
call fcn.005759d0
add esp, 4
mov dword [esp + 0x330], 0xffffffff
jmp 0x45d495
push eax
lea edx, [esp + 0x70]
push edx
call fcn.00443f10
cmp byte [0x62e5e7], 0
je 0x45d514
mov ebp, dword [0x63573c]
jmp 0x45d526
mov eax, dword [esp + 0x6c]
push 2
push ebx
push eax
call fcn.0045c430
add esp, 0xc
mov ebp, eax
cmp ebp, ebx
jne 0x45d53a
mov dword [esp + 0x330], 0xffffffff
jmp 0x45d495
mov ecx, dword [esp + 0x338]
lea edx, [esp + 0xf4]
push edx
push ebp
lea edx, [esp + 0x2c]
call fcn.0045c4a0
add esp, 8
test eax, eax
je 0x45d56a
mov dword [esp + 0x330], 0xffffffff
jmp 0x45d495
mov esi, dword [esp + 0x320]
cmp esi, ebx
jne 0x45d585
mov dword [esp + 0x330], 0xffffffff
jmp 0x45d462
push esi
call fcn.005759c5
add esp, 4
cmp dword [ebp], 1
mov edi, eax
je 0x45d5a2
mov dword [0x635778], 0x80000
jmp 0x45d5c2
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 4]
push esi
push edi
push ecx
push eax
call fcn.0045c340
mov dword [0x635778], eax
cmp eax, ebx
je 0x45d5ed
cmp eax, 0x600
je 0x45d5ed
push edi
call fcn.005759d0
add esp, 4
cmp byte [0x62e5e7], 0
jne 0x45d5dd
push ebp
call fcn.0045c630
add esp, 4
mov dword [esp + 0x330], 0xffffffff
jmp 0x45d462
cmp byte [0x62e5e7], 0
jne 0x45d5ff
push ebp
call fcn.0045c630
add esp, 4
mov dword [esp + 0x330], 0xffffffff
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x70]
cmp eax, ecx
je 0x45d71f
push eax
call fcn.0058622f
add esp, 4
jmp 0x45d71f
mov ecx, 0x60c44c
mov eax, edi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45d656
cmp dx, bx
je 0x45d652
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45d656
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x45d630
xor eax, eax
jmp 0x45d65b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x45d6c1
mov edi, 1
mov eax, dword [esp + 0x2c]
mov ebx, 1
mov ebp, ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
test eax, eax
je 0x45d7ad
mov ecx, 0x60c44c
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45d7a4
test dx, dx
je 0x45d6ba
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45d7a4
add eax, 4
add ecx, 4
test dx, dx
jne 0x45d690
xor eax, eax
jmp 0x45d7a9
mov edx, dword [esp + 0x338]
push edi
push edx
call fcn.0043db50
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x45d727
push esi
call fcn.0043db50
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
cmp ebp, ebx
je 0x45d727
push esi
call fcn.0043db50
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp esi, ebx
je 0x45d727
push esi
call fcn.005759c5
add esp, 4
push esi
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push edi
call fcn.00588160
add esp, 0xc
cmp edi, ebx
jne 0x45d664
mov eax, dword [esp + 0x338]
push ebx
push 0x80
push 3
push ebx
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x45d79d
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x45d79d
push esi
mov dword [esp + 0x28], ebx
call fcn.005759c5
add esp, 4
push ebx
lea ecx, [esp + 0x28]
push ecx
push esi
mov edi, eax
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x24], esi
je 0x45d795
push edi
call fcn.005759d0
add esp, 4
xor eax, eax
jmp 0x45da69
cmp edi, ebx
jne 0x45d664
xor eax, eax
jmp 0x45da69
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45d7dd
lea edx, [esp + 0x38]
push edx
push esi
lea esi, [esp + 0x38]
lea edx, [esp + 0x3c]
mov ecx, edi
call fcn.0047fc10
mov esi, eax
push edi
mov dword [esp + 0x34], esi
call fcn.005759d0
add esp, 0xc
test esi, esi
je 0x45d79d
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
push 0x2c
xor esi, esi
lea eax, [esp + 0x44]
push esi
push eax
call fcn.00587fb0
add esp, 0xc
push esi
mov ecx, ebp
imul ebp, ebx
mov edx, 1
push esi
mov word [esp + 0x54], dx
lea edx, [esp + 0x24]
push edx
mov eax, 0x20
neg ecx
mov word [esp + 0x5a], ax
push esi
lea eax, [esp + 0x50]
mov dword [esp + 0x58], ecx
push eax
lea ecx, [ebp*4]
push esi
mov dword [esp + 0x58], 0x28
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ecx
mov byte [esp + 0x33], 0
mov dword [esp + 0x34], esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x38], eax
cmp eax, esi
je 0x45d79d
xor eax, eax
mov word [esp + 0x21], ax
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x20], 0
cmp eax, esi
je 0x45d8ee
mov ecx, 0x60c44c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45d899
cmp dx, si
je 0x45d895
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45d899
add eax, 4
add ecx, 4
cmp dx, si
jne 0x45d873
xor eax, eax
jmp 0x45d89e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x45d8ee
mov eax, dword [esp + 0x338]
mov dword [esp + 0x3c], esi
cmp word [eax], 0x23
jne 0x45d8ba
push eax
call dword [sym.imp.USER32.dll_CharNextW]
push 0x10
lea ecx, [esp + 0x40]
push ecx
push eax
call fcn.005916c1
mov dword [esp + 0x30], eax
mov dl, byte [esp + 0x33]
mov byte [esp + 0x2e], al
mov al, byte [esp + 0x32]
lea ecx, [esp + 0x2c]
add esp, 0xc
mov byte [esp + 0x23], dl
mov byte [esp + 0x21], ah
mov byte [esp + 0x20], al
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp ebp, esi
jle 0x45d9cd
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
add esi, 3
mov bl, 0xff
mov dl, byte [esi]
mov byte [eax + ecx*4 + 3], dl
mov edi, dword [esp + 0x1c]
cmp byte [edi + ecx*4 + 3], bl
jae 0x45d96b
movzx eax, byte [esi]
movzx edx, byte [esi - 1]
imul edx, eax
mov eax, 0x80808081
mul edx
shr edx, 7
mov byte [edi + ecx*4], dl
movzx eax, byte [esi]
movzx edx, byte [esi - 2]
imul edx, eax
mov eax, 0x80808081
mul edx
mov eax, dword [esp + 0x1c]
shr edx, 7
mov byte [eax + ecx*4 + 1], dl
movzx eax, byte [esi]
movzx edx, byte [esi - 3]
imul edx, eax
mov eax, 0x80808081
mul edx
mov eax, dword [esp + 0x1c]
shr edx, 7
mov byte [eax + ecx*4 + 2], dl
mov byte [esp + 0x1b], 1
jmp 0x45d989
mov dl, byte [esi - 1]
mov byte [edi + ecx*4], dl
movzx eax, byte [esi - 2]
mov edx, dword [esp + 0x1c]
mov byte [edx + ecx*4 + 1], al
movzx eax, byte [esi - 3]
mov edx, dword [esp + 0x1c]
mov byte [edx + ecx*4 + 2], al
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x33c]
cmp dword [eax + ecx*4], edx
jne 0x45d9c1
mov byte [eax + ecx*4], 0
mov eax, dword [esp + 0x1c]
mov byte [eax + ecx*4 + 1], 0
mov edx, dword [esp + 0x1c]
mov byte [edx + ecx*4 + 2], 0
mov eax, dword [esp + 0x1c]
mov byte [eax + ecx*4 + 3], 0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x1b], 1
inc ecx
add esi, 4
cmp ecx, ebp
jl 0x45d905
cmp dword [esp + 0x2c], 0
je 0x45da0f
mov eax, dword [esp + 0x2c]
mov ecx, 0x60c44c
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45da06
test dx, dx
je 0x45da02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45da06
add eax, 4
add ecx, 4
test dx, dx
jne 0x45d9e0
xor eax, eax
jmp 0x45da0b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45da1c
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0058622f
add esp, 4
push 0xa0
call fcn.00575996
add esp, 4
test eax, eax
je 0x45da3a
lea ecx, [eax + 0x1c]
xor edx, edx
mov dword [eax + 0x18], ecx
mov word [ecx], dx
jmp 0x45da3c
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov cl, byte [esp + 0x1b]
mov dword [eax + 0x10], edx
mov byte [eax + 0x14], cl
mov byte [eax + 0x15], 0
mov dword [eax + 8], 0
mov ecx, dword [esp + 0x328]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.005832f8
add esp, 0x320
ret