Function at 0xb59cc4
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0xc79588
call fcn.00be12c8
sub esp, 0x4fc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
push esi
mov dword [0xd87b78], eax
lea eax, [ebp - 0x14]
push eax
push esi
push 2
push esi
push esi
push esi
push str.SOFTWAREWizetMaple
push 0x80000002
mov dword [ebp - 0x14], esi
call dword [0xd86420]
cmp eax, esi
jne 0xb59d33
cmp dword [ebp - 0x14], esi
je 0xb59d33
push 1
pop edi
push 4
lea eax, [ebp + 8]
push eax
push 4
push esi
push str.B91A5233_AC0B_4197_9359_834B3583C8F4
push dword [ebp - 0x14]
mov dword [ebp + 8], edi
call dword [0xd86434]
push dword [ebp - 0x14]
call dword [0xd86424]
jmp 0xb59d36
push 1
pop edi
call fcn.00b6259c
cmp eax, esi
je 0xb59d4c
push eax
push 0xd86604
call fcn.00be2bf0
pop ecx
pop ecx
mov dword [0xd86710], esi
mov dword [0xd8671c], 0xb62655
mov dword [0xd86714], edi
mov dword [0xd86718], edi
jmp 0xb59d7a
push 0xd76714
push esi
push esi
push esi
call dword [sym.imp.kernel32.dll_CreateEventA]
jmp 0xb59d9a
lea eax, [ebp - 0x18]
push 0x31b
push eax
call fcn.00877d11
mov ecx, eax
call fcn.00406bc6
push dword [eax]
mov dword [ebp - 4], esi
push edi
push esi
call dword [0xd86140]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp + 8], eax
call fcn.00406a50
cmp dword [ebp + 8], esi
je 0xb5aa5f
call dword [0xd861fc]
cmp eax, 0xb7
jne 0xb59e6d
lea eax, [ebp - 0x34]
push 0x3f5
push eax
call fcn.00877d11
mov ecx, eax
call fcn.00406bc6
mov ebx, dword [eax]
lea eax, [ebp - 0x18]
push 0x3f4
push eax
mov dword [ebp - 4], edi
call fcn.00877d11
mov ecx, eax
call fcn.00406bc6
mov eax, dword [eax]
push ebx
push eax
mov byte [ebp - 4], 2
call dword [0xd8638c]
lea ecx, [ebp - 0x18]
mov ebx, eax
mov byte [ebp - 4], 1
call fcn.00406a50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406a50
cmp ebx, esi
je 0xb59e54
push edi
push ebx
call dword [0xd862a4]
push ebx
call dword [0xd86388]
jmp 0xb5aa5f
push 0x1388
push dword [ebp + 8]
call dword [0xd86144]
cmp eax, 0x102
je 0xb5aa5f
lea eax, [ebp + 8]
push 0x92f
push eax
mov dword [ebp - 0x24], 0x100
call fcn.00877d11
mov ecx, eax
call fcn.00406bc6
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0x20]
push ecx
push esi
push 0xf
push esi
push esi
push esi
push eax
push 0x80000002
mov dword [ebp - 4], 3
call dword [0xd86420]
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
inc bl
call fcn.00406a50
test bl, bl
je 0xb59fd8
lea eax, [ebp - 0x18]
push 0x931
push eax
call fcn.00877d11
mov ecx, eax
call fcn.00406bc6
mov eax, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x2f4]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push esi
push eax
push dword [ebp - 0x20]
mov dword [ebp - 4], 4
call dword [0xd86430]
test eax, eax
jne 0xb59f53
cmp dword [ebp - 0x2c], edi
setne al
test al, al
jne 0xb59f53
mov eax, dword [ebp - 0x24]
cmp byte [ebp + eax - 0x2f5], 0
setne al
test al, al
jne 0xb59f53
lea eax, [ebp + 8]
push 0x31a
push eax
call fcn.00877d11
mov ecx, eax
call fcn.00406bc6
push dword [eax]
lea eax, [ebp - 0x2f4]
push eax
call fcn.00be4332
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp + 8]
setne bl
call fcn.00406a50
test bl, bl
je 0xb59f55
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00406a50
test bl, bl
je 0xb59fcf
call dword [0xd86234]
cmp eax, 0x3a8
je 0xb59fcf
call fcn.00ae4c25
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
mov dword [ecx], esi
push 0xffffffffffffffff
mov esi, 0xd80c88
push esi
mov edi, eax
call fcn.0041736e
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0xffffffffffffffff
push esi
mov dword [ebp - 4], 5
call fcn.0042dc1e
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
mov byte [ebp - 4], 6
push 0x932
push eax
call fcn.00877d11
mov ecx, eax
call fcn.00406bc6
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.0074bf42
jmp 0xb5aa5f
push dword [ebp - 0x20]
call dword [0xd86424]
call fcn.00b59b00
push esi
call dword [0xd863d8]
test eax, eax
jge 0xb5a02a
call fcn.00ae4c25
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
mov dword [ecx], esi
push 0xffffffffffffffff
mov esi, 0xd80c88
push esi
mov edi, eax
call fcn.0041736e
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0xffffffffffffffff
push esi
mov dword [ebp - 4], 7
call fcn.0042dc1e
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
mov byte [ebp - 4], 8
push 0x933
jmp 0xb59fb2
mov dword [ebp - 4], 9
call fcn.00b59be0
jmp 0xb5a040
or dword [ebp - 4], 0xffffffff
push 0x4a0
mov ecx, 0xd86a88
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x34], esi
call fcn.004030bb
mov dword [ebp + 8], eax
cmp eax, esi
mov dword [ebp - 4], 0xb
je 0xb5a06e
mov ecx, eax
call fcn.004b96f4
push dword [ebp + 0x10]
lea ecx, [ebp - 0x190]
mov dword [ebp - 4], 0xd
call fcn.00b5d0a5
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0xe
call fcn.00b5d3e1
pushal
add eax, ebx
add eax, ecx
add eax, edx
je 0xb5a09d
jne 0xb5a0c2
jmp 0xb5a0b7
aam 0x25
adc byte [0x5055215], ah
pop eax
outsd dx, dword [esi]
retf 0x3361
popal
xor ebx, ebx
xor esi, esi
cmp esi, ebx
mov byte [ebp - 4], 0xf
je 0xb5a10e
mov eax, dword [0xd7c46c]
cmp dword [eax + 0x3cb8], ebx
je 0xb5a0e7
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
mov ecx, dword [0xd7c46c]
call fcn.00b94b1d
mov dword [ebp + 0x10], esi
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x10
call fcn.00563167
push ebx
push eax
call fcn.006bc7a5
pop ecx
pop ecx
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x30], ebx
call fcn.00b5e051
cmp dword [ebp - 0x11c], ebx
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x18], eax
je 0xb5a142
mov eax, dword [0xd808e8]
cmp dword [eax + 0x18], ebx
mov dword [ebp - 0x34], 1
jne 0xb5a145
mov dword [ebp - 0x34], ebx
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0xd
call fcn.00b5d375
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
call fcn.00b5aa72
jmp 0xb5a934
mov ecx, dword [0xd808e8]
or edi, 0xffffffff
cmp ecx, ebx
mov dword [ebp - 4], edi
je 0xb5a94a
mov eax, dword [ecx]
push 1
call dword [eax]
call dword [0xd863d4]
call fcn.00b59b00
cmp dword [ebp - 0x34], ebx
je 0xb5a9b1
call fcn.00ae4c25
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push edi
mov esi, 0xd80c88
push esi
mov dword [ebp + 8], eax
mov dword [ecx], ebx
call fcn.0041736e
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push edi
push esi
mov dword [ebp - 4], 0x3c
call fcn.0042dc1e
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push 0x302
push eax
mov byte [ebp - 4], 0x3d
call fcn.00877d11
mov ecx, eax
call fcn.00406bc6
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], edi
call fcn.0074bf42
cmp dword [0xd80ebc], ebx
je 0xb5a9be
call fcn.00b5ab5a
cmp dword [ebp - 0x18], ebx
je 0xb5aa30
lea eax, [ebp + 8]
push 4
push eax
mov byte [ebp - 0x504], bl
call fcn.00877d11
mov ecx, eax
call fcn.00406bc6
push dword [eax]
lea eax, [ebp - 0x504]
push eax
mov dword [ebp - 4], 0x3e
call dword [0xd86218]
lea ecx, [ebp + 8]
mov dword [ebp - 4], edi
call fcn.00406a50
push ebx
mov dword [ebp - 0x304], 0x320
mov dword [ebp - 0x300], 0x229
mov dword [ebp - 0x2fc], ebx
call dword [0xd860e0]
mov dword [ebp - 0x2f8], eax
lea eax, [ebp - 0x504]
push eax
call fcn.00427660
pop ecx
lea eax, [ebp - 0x30]
push 0xefd
push eax
call fcn.00877d11
mov ecx, eax
call fcn.00406bc6
push dword [eax]
mov dword [ebp - 4], 0x3f
call fcn.00adcafe
pop ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], edi
call fcn.00406a50
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10