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

Disassembly:
push 0xffffffffffffffff
push 0x4e313d
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x51f4f4]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51f4f4]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xcc]
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov edi, 7
xor edx, edx
mov ecx, eax
mov byte [esp + 0x17], 1
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], dx
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x405360
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x9c]
call fcn.00406860
mov dword [esp + 0xc4], ebx
xor eax, eax
mov word [esp + 0x48], ax
push 1
mov eax, 0x506d5c
lea esi, [esp + 0x48]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
call fcn.00406860
mov ecx, esi
push ecx
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0xd0], 1
call fcn.00404870
add esp, 0xc
mov byte [esp + 0xc4], 3
cmp dword [esp + 0x5c], 8
jb 0x4053de
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004129b1
add esp, 4
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x38]
xor edx, edx
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], dx
cmp edi, dword [esp + 0x3c]
jbe 0x4053fc
call fcn.004458bb
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
mov ebp, eax
jmp 0x405412
xor ebx, ebx
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x38], esi
jbe 0x405421
call fcn.004458bb
cmp ebp, ebx
je 0x40542b
cmp ebp, dword [esp + 0x2c]
je 0x405430
call fcn.004458bb
cmp edi, esi
je 0x405922
cmp ebp, ebx
jne 0x4054c6
call fcn.004458bb
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x405451
call fcn.004458bb
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0x84], cx
push ebx
mov eax, edi
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], ebx
call fcn.004067b0
lea eax, [esp + 0x7c]
mov byte [esp + 0xc4], 4
call fcn.00404780
cmp ebp, ebx
jne 0x4054ce
call fcn.004458bb
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4054a4
call fcn.004458bb
push 0x506d60
mov ebx, 8
mov eax, edi
call fcn.00406910
cmp eax, 0xffffffff
je 0x4054d3
mov byte [0x525d3d], 1
jmp 0x4058d6
mov eax, dword [ebp]
jmp 0x405447
mov eax, dword [ebp]
jmp 0x40549a
test ebp, ebp
jne 0x4055bd
call fcn.004458bb
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4054ec
call fcn.004458bb
push 0x506d74
mov ebx, 3
mov eax, edi
call fcn.00406910
cmp eax, 0xffffffff
jne 0x4058d6
test ebp, ebp
jne 0x4055c5
call fcn.004458bb
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x40551f
call fcn.004458bb
push 0x506d7c
mov ebx, 2
mov eax, edi
call fcn.00406910
cmp eax, 0xffffffff
je 0x4055da
test ebp, ebp
jne 0x4055cd
call fcn.004458bb
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x405552
call fcn.004458bb
push 0x506d84
mov ebx, 1
mov eax, edi
call fcn.00406910
mov esi, eax
test ebp, ebp
jne 0x4055d5
call fcn.004458bb
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x40557a
call fcn.004458bb
lea edx, [esi + 1]
push edi
or ecx, 0xffffffff
lea esi, [esp + 0x64]
call fcn.004061d0
push 0xffffffffffffffff
push 0
mov ecx, 0x5222bc
mov byte [esp + 0xcc], 5
call fcn.004067b0
cmp dword [esp + 0x78], 8
jb 0x4058d6
mov edx, dword [esp + 0x64]
push edx
call fcn.004129b1
add esp, 4
jmp 0x4058d6
mov eax, dword [ebp]
jmp 0x4054e2
mov eax, dword [ebp]
jmp 0x405515
mov eax, dword [ebp]
jmp 0x405548
mov eax, dword [ebp]
jmp 0x405570
test ebp, ebp
jne 0x40568c
call fcn.004458bb
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4055f3
call fcn.004458bb
push 0x506d88
mov eax, edi
call fcn.00406910
cmp eax, 0xffffffff
je 0x4056a1
test ebp, ebp
jne 0x405694
call fcn.004458bb
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x405621
call fcn.004458bb
push 0x506d84
mov ebx, 1
mov eax, edi
call fcn.00406910
mov esi, eax
test ebp, ebp
jne 0x40569c
call fcn.004458bb
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x405649
call fcn.004458bb
lea edx, [esi + 1]
push edi
or ecx, 0xffffffff
lea esi, [esp + 0x64]
call fcn.004061d0
push 0xffffffffffffffff
push 0
mov ecx, 0x5222d8
mov byte [esp + 0xcc], 6
call fcn.004067b0
cmp dword [esp + 0x78], 8
jb 0x4058d6
mov eax, dword [esp + 0x64]
push eax
call fcn.004129b1
add esp, 4
jmp 0x4058d6
mov eax, dword [ebp]
jmp 0x4055e9
mov eax, dword [ebp]
jmp 0x405617
mov eax, dword [ebp]
jmp 0x40563f
test ebp, ebp
jne 0x405740
call fcn.004458bb
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4056ba
call fcn.004458bb
push 0x506d90
mov ebx, 3
mov eax, edi
call fcn.00406910
cmp eax, 0xffffffff
je 0x405748
mov ecx, dword [esp + 0x18]
push ecx
sub esp, 0x1c
mov esi, esp
xor ebx, ebx
mov dword [esp + 0x40], esp
mov ebp, 7
xor edx, edx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push ebx
mov eax, 0x506e28
mov byte [esp + 0x3b], bl
mov word [esi + 4], dx
call fcn.00406860
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x100], 7
mov dword [esp + 0x58], esp
xor eax, eax
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0xffffffffffffffff
mov word [ecx + 4], ax
push ebx
mov eax, 0x522348
call fcn.004067b0
mov byte [esp + 0x100], 4
call fcn.00404af0
mov ebp, dword [esp + 0x60]
jmp 0x4058d3
mov eax, dword [ebp]
jmp 0x4056b0
test ebp, ebp
jne 0x4057c4
call fcn.004458bb
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x40575d
call fcn.004458bb
push str.preload
mov ebx, 7
mov eax, edi
call fcn.00406910
cmp eax, 0xffffffff
je 0x4057c9
mov ecx, dword [esp + 0x18]
push ecx
sub esp, 0x1c
xor ebx, ebx
mov eax, str._preload
mov ecx, esp
mov byte [esp + 0x37], bl
mov dword [esp + 0x3c], esp
call fcn.00405c90
sub esp, 0x1c
mov byte [esp + 0x100], 8
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
mov eax, 0x522348
mov word [ecx + 4], dx
call fcn.004067b0
jmp 0x4058c6
mov eax, dword [ebp]
jmp 0x405753
test ebp, ebp
jne 0x40582c
call fcn.004458bb
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4057de
call fcn.004458bb
push str.ordersupplies
mov ebx, 0xd
mov eax, edi
call fcn.00406910
cmp eax, 0xffffffff
je 0x405831
mov eax, dword [esp + 0x18]
push eax
sub esp, 0x1c
mov eax, 0x506e28
mov ecx, esp
mov byte [esp + 0x37], 0
mov dword [esp + 0x3c], esp
call fcn.00405c90
sub esp, 0x1c
mov byte [esp + 0x100], 9
mov esi, esp
mov dword [esp + 0x5c], esp
push 0x522364
jmp 0x4058c1
mov eax, dword [ebp]
jmp 0x4057d4
lea esi, [esp + 0x24]
call fcn.00406540
push str.alert
mov ebx, 5
call fcn.00406910
cmp eax, 0xffffffff
je 0x405875
mov ecx, dword [esp + 0x18]
push ecx
sub esp, 0x1c
mov eax, 0x506e28
mov ecx, esp
mov byte [esp + 0x37], 0
mov dword [esp + 0x3c], esp
call fcn.00405c90
mov byte [esp + 0xe4], 0xa
jmp 0x4058b3
lea esi, [esp + 0x24]
call fcn.00406540
push eax
mov edx, str.sendmail
call fcn.00406100
cmp eax, 0xffffffff
je 0x4058d6
mov edx, dword [esp + 0x18]
push edx
sub esp, 0x1c
mov eax, str._SendMail
mov ecx, esp
mov byte [esp + 0x37], 0
mov dword [esp + 0x3c], esp
call fcn.00405c90
mov byte [esp + 0xe4], 0xb
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x5c], esp
push 0x522380
call fcn.00405cd0
mov byte [esp + 0x100], 4
call fcn.00404af0
add esp, 0x3c
test ebp, ebp
jne 0x40591d
call fcn.004458bb
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4058eb
call fcn.004458bb
add edi, 0x1c
mov byte [esp + 0xc4], 3
cmp dword [esp + 0x94], 8
mov dword [esp + 0x28], edi
jb 0x405410
mov eax, dword [esp + 0x80]
push eax
call fcn.004129b1
add esp, 4
jmp 0x405410
mov eax, dword [ebp]
jmp 0x4058e1
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x405948
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
push ecx
call fcn.00407e80
mov edx, dword [esp + 0x3c]
add esp, 4
push edx
call fcn.004129b1
add esp, 4
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.004129b1
add esp, 4
cmp dword [esp + 0xb0], 8
jb 0x40597b
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.004129b1
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004451b5
add esp, 0xb4
ret