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

Disassembly:
sub esp, 0x764
push ebx
push ebp
push esi
push edi
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x2c5]
mov byte [esp + 0x2c4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x455]
mov byte [esp + 0x454], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x135]
mov byte [esp + 0x134], 0
rep stosd dword es:[edi], eax
xor ecx, ecx
xor edx, edx
stosw word es:[edi], ax
mov dword [esp + 0x35], ecx
mov dword [esp + 0x21], edx
mov dword [esp + 0x39], ecx
mov dword [esp + 0x25], edx
stosb byte es:[edi], al
xor eax, eax
mov dword [esp + 0x3d], ecx
mov dword [esp + 0x15], eax
mov dword [esp + 0x41], ecx
mov dword [esp + 0x19], eax
mov word [esp + 0x45], cx
mov word [esp + 0x1d], ax
mov byte [esp + 0x47], cl
mov byte [esp + 0x5e4], cl
mov ecx, 0x63
lea edi, [esp + 0x5e5]
mov byte [esp + 0x1f], al
mov byte [esp + 0x34], al
mov dword [esp + 0x29], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x2d], edx
xor eax, eax
xor ecx, ecx
mov word [esp + 0x31], dx
mov ebx, dword [esp + 0x778]
mov dword [esp + 0x49], eax
mov dword [esp + 0x5d], ecx
mov byte [esp + 0x33], dl
mov byte [esp + 0x48], dl
mov dword [esp + 0x4d], eax
mov dword [esp + 0x61], ecx
mov dword [esp + 0x75], edx
mov dword [esp + 0x51], eax
mov dword [esp + 0x65], ecx
mov dword [esp + 0x79], edx
mov dword [esp + 0x55], eax
mov dword [esp + 0x69], ecx
mov dword [esp + 0x7d], edx
mov word [esp + 0x59], ax
mov word [esp + 0x6d], cx
mov word [esp + 0x81], dx
mov byte [esp + 0x14], 0
test ebx, ebx
mov byte [esp + 0x20], 0
mov byte [esp + 0x5b], al
mov byte [esp + 0x5c], al
mov byte [esp + 0x6f], cl
mov byte [esp + 0x74], cl
mov byte [esp + 0x83], dl
mov dword [esp + 0x10], ecx
jne 0x40cd96
pop edi
pop esi
pop ebp
mov eax, 0xc9
pop ebx
add esp, 0x764
ret
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x28], eax
xor edx, edx
mov esi, dword [sym.imp.MSVCR71.dll_sprintf]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], edx
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x6c], edx
push 0x42c080
push ecx
mov dword [esp + 0x78], edx
call esi
mov edx, dword [ebx + 4]
lea eax, [esp + 0x54]
push edx
push 0x42c080
push eax
call esi
mov ecx, dword [ebx + 8]
lea edx, [esp + 0x74]
push ecx
push 0x42c080
push edx
call esi
lea eax, [esp + 0x80]
lea ecx, [esp + 0x6c]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
push 3
push 0x42c07c
call fcn.004112d0
mov edx, eax
add esp, 0x38
test edx, edx
jne 0x40ce44
pop edi
pop esi
pop ebp
mov eax, 0x132
pop ebx
add esp, 0x764
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x134]
lea ebp, [esp + 0x134]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebp
mov ebp, dword [sym.imp.MSVCR71.dll_free]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x5e8]
lea edx, [esp + 0x138]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x5e8]
push ecx
push edx
push str.releaseLic
push 3
push 0x42c06c
call fcn.004112d0
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x40cecb
pop edi
pop esi
pop ebp
mov eax, 0x132
pop ebx
add esp, 0x764
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x2c4]
lea esi, [esp + 0x2c4]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x70], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x70]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebp
lea edi, [esp + 0x2c8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], ecx
shr cx, 4
mov esi, ecx
lea ecx, [esp + 0x78]
push ecx
call fcn.004113e0
lea edx, [esp + 0x7c]
lea eax, [esp + 0x8c]
push edx
push eax
call fcn.004048d0
add esp, 0x10
test si, si
jbe 0x40cf6b
lea edi, [esp + 0x2c4]
and esi, 0xffff
lea ecx, [esp + 0x84]
push edi
push ecx
call fcn.004049c0
add esp, 8
add edi, 0x10
dec esi
jne 0x40cf54
lea edx, [esp + 0x10]
lea eax, [esp + 0x454]
push edx
push eax
lea ecx, [esp + 0x2cc]
push ebx
push ecx
call fcn.0040dd20
add esp, 0x10
test eax, eax
jne 0x40d09d
mov eax, dword [esp + 0x10]
mov cx, ax
shr cx, 4
test cx, cx
jbe 0x40cfcb
and ecx, 0xffff
lea esi, [esp + 0x454]
mov edi, ecx
lea edx, [esp + 0x84]
push esi
push edx
call fcn.00404bf0
add esp, 8
add esi, 0x10
dec edi
jne 0x40cfb0
mov eax, dword [esp + 0x10]
and eax, 0xffff
xor ecx, ecx
mov dword [esp + 0x14], ecx
lea edi, [esp + 0x134]
mov byte [esp + eax + 0x454], 0
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], eax
mov ecx, 0x64
mov dword [esp + 0x40], eax
lea edx, [esp + 0x134]
mov dword [esp + 0x44], eax
push edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x45c]
push ecx
push edx
push 3
push 0x42c06c
call fcn.00411110
add esp, 0x18
cmp eax, 0xffffffff
jne 0x40d048
pop edi
pop esi
pop ebp
mov eax, 0x12f
pop ebx
add esp, 0x764
ret
mov esi, str.error
lea eax, [esp + 0x34]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40d079
test cl, cl
je 0x40d075
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40d079
add eax, 2
add esi, 2
test cl, cl
jne 0x40d051
xor eax, eax
jmp 0x40d07e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40d09b
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x764
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x764
ret