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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push esi
push edi
xor ebx, ebx
mov edx, dword [ebp + 8]
mov word [ebp - 0x54], bx
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x52]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
push 7
mov byte [ebp - 0x24], bl
pop ecx
lea edi, [ebp - 0x23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
cmp edx, ebx
lea edi, [ebp - 0x3e]
mov word [ebp - 0x40], bx
stosw word es:[edi], ax
lea edi, [ebp - 0x26]
mov word [ebp - 0x28], bx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x3c], esi
stosw word es:[edi], ax
je 0x4aea2b
cmp esi, ebx
mov eax, dword [edx + 4]
mov dword [ebp - 0x34], eax
je 0x4aea2b
cmp dword [esi + 0x78], ebx
jle 0x4aea2b
imul eax, eax, 0xa
lea ebx, [eax + edx]
lea edi, [ebx + 0x1a8]
mov edx, edi
mov dword [ebp - 0x5c], edi
call fcn.004ccc0d
test eax, eax
jne 0x4ae9cc
mov al, byte [edi]
xor edx, edx
jmp 0x4ae9a8
call fcn.004cddce
test eax, eax
jne 0x4ae9ac
inc edx
mov al, byte [edi + edx]
test al, al
jne 0x4ae99b
lea eax, [ebx + edx + 0x1a8]
push eax
call fcn.005317e2
mov dword [ebp - 0x38], eax
mov eax, 0x3e7
cmp dword [ebp - 0x38], eax
pop ecx
jle 0x4ae9d0
mov dword [ebp - 0x38], eax
jmp 0x4ae9d0
and dword [ebp - 0x38], 0
push 0x1543
lea eax, [ebp - 0x54]
push str..ProcessCC.c
push eax
call fcn.004fb92f
mov eax, dword [esi + 0x7c]
add esp, 0xc
test eax, eax
jg 0x4aea09
xor edx, edx
inc edx
mov ecx, esi
mov dword [esi + 0x7c], edx
call fcn.004ae885
push edx
mov ebx, eax
call fcn.004ae8a1
mov edi, eax
mov dword [ebp - 0x2c], edi
jmp 0x4aea55
mov ecx, eax
imul ecx, ecx, 0x13c
cmp dword [ecx + esi - 0xfc], 0
je 0x4aea40
cmp eax, dword [esi + 0x78]
jl 0x4aea3c
push str.:9:InitializeCurrentPayment___FAILED:_there_are_no_more_payment_nodes_available_
call fcn.0042b70b
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret
inc eax
mov dword [esi + 0x7c], eax
mov ecx, esi
call fcn.004ae885
push 1
mov ebx, eax
call fcn.004ae8a1
mov dword [ebp - 0x2c], eax
mov edi, eax
mov dword [ebx], 0x13c
mov eax, dword [esi + 0x7c]
xor edx, edx
cmp edi, edx
mov dword [ebx + 0x7c], eax
mov eax, dword [esi + 0x78]
pop ecx
mov dword [ebx + 0x78], eax
mov dword [ebp - 0x44], edx
je 0x4aeba1
push dword [edi + 0x10]
call fcn.004f9815
test eax, eax
pop ecx
jne 0x4aeba1
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
inc byte [ebx + 0x12]
mov al, byte [ebx + 0x12]
cmp al, 0xc
mov byte [ebx + 0x13], 1
jbe 0x4aeaa2
inc word [ebx + 0x10]
mov byte [ebx + 0x12], 1
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x14], eax
movzx eax, ax
push eax
movzx eax, byte [ebx + 0x16]
call fcn.004f98f1
add esp, 4
mov byte [ebx + 0x17], al
cmp dword [edi + 0xe0], edx
je 0x4aec22
movzx eax, byte [ebx + 0x12]
cmp eax, dword [edi + 0x10c]
jle 0x4aeae3
movzx eax, word [ebx + 0x10]
cmp eax, dword [edi + 0x110]
jge 0x4aec22
cmp dword [edi + 0xe4], edx
je 0x4aeb22
push dword [edi + 0x10]
call fcn.004f974d
test eax, eax
pop ecx
je 0x4aec22
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x28], eax
shr eax, 0x10
inc al
cmp al, 0xc
mov dword [ebp - 0x44], 1
mov byte [ebp - 0x26], al
jbe 0x4aeb1d
inc word [ebp - 0x28]
mov byte [ebp - 0x26], 1
mov eax, dword [edi + 0x14]
jmp 0x4aeb99
lea esi, [edi + 0xd0]
push edx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f9794
add esp, 0x14
test eax, eax
je 0x4aec22
mov esi, dword [ebp - 0x2c]
sub esp, 0x10
add esi, 0xd0
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x44], 1
movsd dword es:[edi], dword [esi]
call fcn.004f96f4
mov dword [ebp - 0x28], eax
shr eax, 0x10
add esp, 0x10
inc al
cmp al, 0xc
mov byte [ebp - 0x26], al
jbe 0x4aeb7a
inc word [ebp - 0x28]
mov byte [ebp - 0x26], 1
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0xe8]
cmp eax, 8
je 0x4aeb92
cmp eax, 0xa
je 0x4aeb92
cmp eax, 0xffffffff
jne 0x4aeb96
mov byte [ebp - 0x25], 1
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x40], eax
jmp 0x4aec22
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
lea esi, [eax + ecx*4 + 0x2980]
push dword [esi]
mov dword [ebp - 0x58], esi
call fcn.004f974d
test eax, eax
pop ecx
je 0x4aebee
push dword [esi]
lea esi, [ebp - 0x54]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f96f4
add esp, 0x10
push eax
call fcn.004f9e90
push eax
call fcn.0053146e
add esp, 0xc
cmp eax, 0xc
jg 0x4aebee
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
jmp 0x4aec02
sub esp, 0x10
lea esi, [ebp - 0x54]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f96f4
add esp, 0x10
mov dword [ebx + 0x10], eax
mov byte [ebx + 0x13], 1
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x14], eax
movzx eax, ax
push eax
movzx eax, byte [ebx + 0x16]
call fcn.004f98f1
add esp, 4
mov byte [ebx + 0x17], al
sub esp, 0x10
lea esi, [ebp - 0x54]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f96f4
push dword [ebp - 0x5c]
mov dword [ebx + 0xc], eax
push 0xa
lea eax, [ebx + 0x1c]
pop ecx
call fcn.004ccc3f
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
mov eax, dword [edi + esi*4 + 0x1e90]
add esp, 0x14
test eax, eax
jne 0x4aec68
fld dword [0x5edb84]
push ecx
fstp dword [esp]
call fcn.0046866b
pop ecx
mov dword [ebx + 0x28], eax
mov eax, dword [edi + esi*4 + 0x21b0]
mov dword [ebx + 0x30], eax
mov eax, dword [edi + esi*4 + 0x2020]
mov ecx, dword [ebx + 0x30]
mov dword [ebx + 0x34], eax
mov eax, dword [edi + esi*4 + 0x24d0]
add ecx, eax
add ecx, dword [ebx + 0x34]
mov dword [ebx + 0x2c], eax
add ecx, dword [ebx + 0x28]
imul ecx, dword [edi + esi*4 + 0x2340]
mov dword [ebx + 0x38], ecx
lea ecx, [ebx + 8]
call fcn.00495dfb
mov ecx, dword [ebp - 0x3c]
push 0
call fcn.004ae8a1
xor edi, edi
mov esi, eax
cmp esi, edi
pop ecx
mov dword [ebx + 0x60], edi
je 0x4aecc3
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x60], eax
push 4
lea eax, [ebx + 0x64]
push edi
push eax
call fcn.005306b0
add esp, 0xc
cmp esi, edi
je 0x4aecdc
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x64], eax
cmp esi, edi
mov dword [ebx + 0x68], edi
je 0x4aece9
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x68], eax
cmp esi, edi
mov dword [ebx + 0x6c], edi
je 0x4aecf6
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x6c], eax
cmp esi, edi
mov dword [ebx + 0x70], edi
je 0x4aed06
mov eax, dword [esi + 0x3c]
sub eax, dword [esi + 0x48]
mov dword [ebx + 0x70], eax
cmp dword [ebp - 0x44], edi
mov dword [ebp - 0x34], edi
je 0x4aee95
push dword [ebx + 0x10]
push dword [ebp - 0x40]
call fcn.004f9a0c
test eax, eax
pop ecx
pop ecx
je 0x4aee95
mov esi, dword [ebp - 0x28]
push esi
push dword [ebx + 0xc]
call fcn.004f9a0c
test eax, eax
pop ecx
pop ecx
jne 0x4aee95
movzx eax, si
push eax
mov dword [ebx + 0xc], esi
movzx eax, byte [ebx + 0xe]
call fcn.004f98f1
movzx ecx, byte [ebx + 0xf]
add esp, 4
cmp ecx, eax
jle 0x4aed5b
mov byte [ebx + 0xf], al
xor edi, edi
inc edi
lea ecx, [ebx + 8]
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x44], edi
call fcn.00495dfb
push 0x10
mov dword [ebx + 0x48], eax
lea eax, [ebx + 0x50]
push 0
push eax
call fcn.005306b0
mov esi, dword [ebp - 0x2c]
add esp, 0xc
lea eax, [esi + 0x84]
push eax
lea eax, [ebx + 0x84]
push eax
call fcn.005312a0
mov eax, dword [esi + 0x90]
mov dword [ebx + 0x90], eax
lea eax, [esi + 0x94]
push eax
lea eax, [ebx + 0x94]
push eax
call fcn.005312a0
mov eax, dword [esi + 0xa0]
push str.Auto_Pay
mov dword [ebx + 0xa0], eax
push 0xa
lea eax, [ebx + 0xa8]
pop ecx
mov dword [ebx + 0xa4], 0x1e61
call fcn.004ccc3f
add esp, 0x14
lea ecx, [ebx + 8]
mov dword [ebx + 0xb4], edi
mov dword [ebx + 0xb8], edi
call fcn.00495dfb
push dword [ebp - 0x28]
lea ecx, [ebp - 0x70]
mov dword [ebx + 0xbc], eax
call fcn.004f971e
mov esi, eax
lea edi, [ebx + 0xc0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 4
push dword [ebp - 0x28]
lea ecx, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
call fcn.004f971e
mov esi, eax
lea edi, [ebx + 0xd0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x2c]
xor edi, edi
inc edi
mov dword [ebx + 0xe0], edi
mov eax, dword [esi + 0xe4]
mov dword [ebx + 0xe4], eax
mov eax, dword [esi + 0xe8]
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0x4c], eax
add esp, 4
lea eax, [esi + 0xec]
push eax
lea eax, [ebx + 0xec]
push eax
call fcn.005312a0
mov eax, dword [esi + 0x10c]
mov dword [ebx + 0x10c], eax
mov eax, dword [esi + 0x110]
pop ecx
mov dword [ebx + 0x110], eax
mov eax, dword [esi + 0x114]
pop ecx
mov dword [ebp - 0x34], edi
mov dword [ebx + 0x114], eax
xor edi, edi
jmp 0x4aee98
mov esi, dword [ebp - 0x2c]
push edi
push edi
xor ecx, ecx
call fcn.0042e062
mov dword [ebx + 0x138], eax
movzx eax, byte [ebx + 0x12]
movzx edi, word [ebp - 0x54]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
movzx eax, word [ebp - 0x4e]
push eax
xor eax, eax
call fcn.004690de
mov ecx, dword [ebp - 0x38]
push eax
xor eax, eax
inc eax
call fcn.004690de
push eax
movzx eax, word [ebp - 0x52]
push eax
push 0xa
pop ecx
mov eax, edi
cdq
idiv ecx
imul eax, eax, 0xa
sub edi, eax
push edi
push str._d_02d_d_d_02d_02d
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.004ce4e5
lea eax, [ebp - 0x24]
add esp, 0x24
push eax
call fcn.005317d1
pop ecx
push dword [ebp - 0x3c]
mov dword [ebx + 0x18], eax
push dword [ebp - 0x30]
mov eax, ebx
call fcn.004a759e
neg eax
sbb eax, eax
xor edi, edi
pop ecx
neg eax
cmp dword [ebp - 0x34], edi
pop ecx
jne 0x4aef21
cmp eax, edi
je 0x4aef4e
mov edx, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
dec edx
dec edx
cmp ecx, edx
jge 0x4aef3f
push dword [ebp - 0x3c]
push dword [ebp - 0x30]
call fcn.004ae909
pop ecx
pop ecx
jmp 0x4aea2d
push eax
push ecx
push str.:9:InitializeCurrentPayment___FAILED:_Ran_out_of_slots_to_perform_auto_pay____NumNodes___d__bDidInjectPay___d
call fcn.0042b70b
add esp, 0xc
cmp esi, edi
je 0x4aef8b
cmp dword [esi + 0x4c], 8
jne 0x4aef8b
cmp dword [ebx + 0xb4], edi
jne 0x4aef8b
cmp dword [ebx + 0x40], edi
jne 0x4aef8b
push dword [ebp - 0x3c]
or dword [ebx + 0x4c], 0xffffffff
push dword [ebp - 0x30]
xor eax, eax
inc eax
mov dword [ebx + 0xb4], eax
mov dword [ebx + 0x40], eax
call fcn.004ae909
pop ecx
pop ecx
mov dword [ebx + 0xb4], edi
mov dword [ebx + 0x40], edi
mov eax, ebx
jmp 0x4aea2d