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

Disassembly:
sub esp, 0x88c
push ebx
push ebp
push esi
push edi
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x3ed]
mov byte [esp + 0x3ec], 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 + 0x57d]
mov byte [esp + 0x57c], 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 + 0x1ad]
mov byte [esp + 0x1ac], 0
rep stosd dword es:[edi], eax
xor ecx, ecx
xor edx, edx
stosw word es:[edi], ax
mov dword [esp + 0x85], ecx
mov dword [esp + 0x5d], edx
mov dword [esp + 0x89], ecx
mov dword [esp + 0x61], edx
stosb byte es:[edi], al
xor eax, eax
mov dword [esp + 0x8d], ecx
mov dword [esp + 0x3d], eax
mov dword [esp + 0x91], ecx
mov dword [esp + 0x41], eax
mov word [esp + 0x95], cx
mov word [esp + 0x45], ax
mov byte [esp + 0x97], cl
mov byte [esp + 0x70c], cl
mov ecx, 0x63
lea edi, [esp + 0x70d]
mov byte [esp + 0x47], al
mov byte [esp + 0x84], al
mov dword [esp + 0x65], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov dword [esp + 0x69], edx
mov dword [esp + 0x49], eax
mov word [esp + 0x6d], dx
mov dword [esp + 0x4d], eax
xor ecx, ecx
mov dword [esp + 0x51], eax
mov byte [esp + 0x6f], dl
mov byte [esp + 0x48], dl
mov dword [esp + 0x55], eax
mov dword [esp + 0x71], ecx
mov dword [esp + 0x11], edx
mov word [esp + 0x59], ax
mov dword [esp + 0x75], ecx
mov dword [esp + 0x15], edx
mov byte [esp + 0x5b], al
mov byte [esp + 0x70], al
mov dword [esp + 0x79], ecx
mov dword [esp + 0x19], edx
mov dword [esp + 0x25], eax
mov dword [esp + 0x7d], ecx
mov dword [esp + 0x1d], edx
mov dword [esp + 0x29], eax
mov word [esp + 0x81], cx
mov word [esp + 0x21], dx
mov dword [esp + 0x2d], eax
mov byte [esp + 0x3c], 0
mov byte [esp + 0x5c], 0
mov byte [esp + 0x83], cl
mov byte [esp + 0x10], cl
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], cl
mov dword [esp + 0x31], eax
mov word [esp + 0x35], ax
mov byte [esp + 0xac], cl
mov ecx, 0x3f
lea edi, [esp + 0xad]
mov byte [esp + 0x37], al
mov ebx, dword [esp + 0x8a0]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
test ebx, ebx
stosb byte es:[edi], al
jne 0x40d240
pop edi
pop esi
pop ebp
mov eax, 0xc9
pop ebx
add esp, 0x88c
ret
mov ebp, dword [esp + 0x8a4]
cmp dword [ebp + 4], 0x100
jbe 0x40d260
pop edi
pop esi
pop ebp
mov eax, 0x132
pop ebx
add esp, 0x88c
ret
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x60], ecx
xor eax, eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x20], ecx
mov esi, dword [sym.imp.MSVCR71.dll_sprintf]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x24], edx
mov ecx, 0x40
lea edi, [esp + 0xac]
mov dword [esp + 0x80], eax
mov dword [esp + 0x28], edx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x2c], edx
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x34], edx
push 0x42c080
push ecx
mov dword [esp + 0x40], edx
call esi
mov edx, dword [ebx + 4]
lea eax, [esp + 0x54]
push edx
push 0x42c080
push eax
call esi
mov ecx, dword [ebx]
lea edx, [esp + 0x88]
push ecx
push 0x42c080
push edx
call esi
mov eax, dword [ebp]
lea ecx, [esp + 0x34]
push eax
push 0x42c080
push ecx
call esi
mov edx, dword [ebp + 4]
lea eax, [esp + 0x54]
push edx
push 0x42c080
push eax
call esi
mov ecx, dword [ebp + 4]
mov eax, dword [ebp + 8]
lea edx, [esp + 0xe8]
push ecx
push edx
push eax
call fcn.00411430
add esp, 0x48
lea ecx, [esp + 0xac]
lea edx, [esp + 0x24]
lea eax, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x78]
push eax
lea edx, [esp + 0x54]
push ecx
push edx
lea eax, [esp + 0x70]
push eax
push 6
push 0x42c07c
call fcn.004112d0
mov edx, eax
add esp, 0x20
test edx, edx
jne 0x40d391
pop edi
pop esi
pop ebp
mov eax, 0x132
pop ebx
add esp, 0x88c
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x1ac]
lea ebp, [esp + 0x1ac]
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 + 0x710]
lea edx, [esp + 0x1b0]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x710]
push ecx
push edx
push str.secureMsgStr
push 3
push 0x42c06c
call fcn.004112d0
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x40d418
pop edi
pop esi
pop ebp
mov eax, 0x132
pop ebx
add esp, 0x88c
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x3ec]
lea esi, [esp + 0x3ec]
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 + 0x98], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x98]
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 + 0x3f0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x3c], ecx
shr cx, 4
mov esi, ecx
lea ecx, [esp + 0xa0]
push ecx
call fcn.004113e0
lea edx, [esp + 0xa4]
lea eax, [esp + 0x344]
push edx
push eax
call fcn.004048d0
add esp, 0x10
test si, si
jbe 0x40d4c4
lea edi, [esp + 0x3ec]
and esi, 0xffff
lea ecx, [esp + 0x33c]
push edi
push ecx
call fcn.004049c0
add esp, 8
add edi, 0x10
dec esi
jne 0x40d4ad
lea edx, [esp + 0x38]
lea eax, [esp + 0x57c]
push edx
push eax
lea ecx, [esp + 0x3f4]
push ebx
push ecx
call fcn.0040dd20
add esp, 0x10
test eax, eax
jne 0x40d6bc
mov eax, dword [esp + 0x38]
mov cx, ax
shr cx, 4
test cx, cx
jbe 0x40d524
and ecx, 0xffff
lea esi, [esp + 0x57c]
mov edi, ecx
lea edx, [esp + 0x33c]
push esi
push edx
call fcn.00404bf0
add esp, 8
add esi, 0x10
dec edi
jne 0x40d509
mov eax, dword [esp + 0x38]
and eax, 0xffff
xor ecx, ecx
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0x1ac]
mov byte [esp + eax + 0x57c], 0
xor eax, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x8c], eax
mov ecx, 0x64
mov dword [esp + 0x90], eax
lea edx, [esp + 0x1ac]
mov dword [esp + 0x94], eax
push edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x40]
lea ecx, [esp + 0x88]
push eax
lea edx, [esp + 0x584]
push ecx
push edx
push 3
push 0x42c06c
call fcn.00411110
add esp, 0x18
cmp eax, 0xffffffff
jne 0x40d5b3
pop edi
pop esi
pop ebp
mov eax, 0x12f
pop ebx
add esp, 0x88c
ret
mov esi, str.error
lea eax, [esp + 0x84]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40d5e7
test cl, cl
je 0x40d5e3
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40d5e7
add eax, 2
add esi, 2
test cl, cl
jne 0x40d5bf
xor eax, eax
jmp 0x40d5ec
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40d609
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88c
ret
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], ecx
xor eax, eax
mov dword [esp + 0x20], ecx
mov ecx, 0x40
lea edi, [esp + 0xac]
mov dword [esp + 0x30], edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x1b4]
push edx
push eax
push 3
push 0x42c07c
call fcn.00411110
add esp, 0x18
cmp eax, 0xffffffff
jne 0x40d683
pop edi
pop esi
pop ebp
mov eax, 0x12f
pop ebx
add esp, 0x88c
ret
mov edi, dword [sym.imp.MSVCR71.dll_atol]
lea ecx, [esp + 0x10]
push ecx
call edi
mov esi, dword [esp + 0x8ac]
lea edx, [esp + 0x28]
push edx
mov dword [esi], eax
call edi
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
add eax, eax
lea edx, [esp + 0xb4]
push eax
push ecx
push edx
call fcn.00411470
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88c
ret