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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9bc
mov eax, dword [0x5005d0]
xor eax, esp
mov dword [esp + 0x9b8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x3ff
push esi
mov dword [esp + 0x64], eax
xor edi, edi
lea eax, [esp + 0x1c5]
mov ebx, ecx
push edi
push eax
mov dword [esp + 0x30], ebx
mov byte [esp + 0x1cc], 0
call fcn.004a7110
add esp, 0xc
push esi
lea eax, [esp + 0x5c5]
push edi
push eax
mov byte [esp + 0x5cc], 0
call fcn.004a7110
add esp, 0xc
push 0xff
lea eax, [esp + 0xc5]
push edi
push eax
mov dword [esp + 0x1c], edi
mov word [esp + 0x18], 9
mov byte [esp + 0xcc], 0
call fcn.004a7110
add esp, 0xc
cmp ebx, edi
jne 0x454b66
xor eax, eax
jmp 0x4554c1
mov ecx, dword [esp + 0x60]
call fcn.00451a88
mov esi, dword [esp + 0x60]
push edi
mov dword [esp + 0x20], edi
mov dword [esp + 0xa0], edi
xor edi, edi
mov dword [esp + 0x90], eax
call fcn.0043b079
pop ecx
push esi
lea eax, [esp + 0x1c4]
push 0x3ff
push eax
call fcn.0043b3b5
add esp, 0xc
test eax, eax
je 0x45548a
lea eax, [ebx - 0x2c]
mov dword [esp + 0x58], eax
lea eax, [ebx + 0x64]
mov dword [esp + 0x44], eax
lea eax, [ebx - 0x53]
mov dword [esp + 0x50], eax
lea eax, [ebx + 0x3d]
mov dword [esp + 0x18], eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x20], eax
lea eax, [ebx - 0x80]
mov dword [esp + 0x4c], eax
lea eax, [ebx - 3]
mov dword [esp + 0x68], eax
lea eax, [ebx + 0x8d]
mov dword [esp + 0x90], eax
lea eax, [ebx + 0x68]
mov dword [esp + 0x14], eax
lea eax, [ebx + 0x8c]
mov dword [esp + 0x84], eax
lea eax, [ebx + 0x88]
mov dword [esp + 0x74], eax
lea eax, [ebx - 0x28]
mov dword [esp + 0x7c], eax
lea eax, [ebx + 0x62]
mov dword [esp + 0x34], eax
lea eax, [ebx + 0x3e]
mov dword [esp + 0x6c], eax
and dword [esp + 0x98], edi
lea eax, [ebx + 0x18]
mov dword [esp + 0x40], eax
and dword [esp + 0x2c], edi
lea eax, [ebx + 0x14]
mov dword [esp + 0x30], eax
lea eax, [ebx + 0x40]
mov dword [esp + 0x3c], eax
lea eax, [ebx + 0x46]
mov dword [esp + 0x38], eax
lea eax, [ebx + 0x42]
mov dword [esp + 0x88], eax
lea eax, [ebx + 0x3f]
mov dword [esp + 0x64], eax
lea eax, [ebx + 0x58]
mov dword [esp + 0x48], eax
lea eax, [ebx + 0x4c]
mov dword [esp + 0x5c], eax
lea eax, [ebx + 0x1c]
mov dword [esp + 0x28], eax
lea eax, [ebx + 0x4a]
mov dword [esp + 0x78], eax
lea eax, [ebx - 0x84]
mov dword [esp + 0x54], eax
lea eax, [ebx + 0xc]
lea edi, [ebx + 8]
mov dword [esp + 0x70], eax
mov dword [esp + 0x80], edi
jmp 0x454c95
mov edi, dword [esp + 0x80]
mov esi, 0x90
push esi
push 0
push edi
call fcn.004a7110
add esp, 0xc
lea edx, [esp + 0x1c0]
mov dword [edi], esi
call fcn.00475851
test eax, eax
jne 0x455469
cmp byte [esp + 0x1c0], 0x3b
je 0x455469
lea eax, [esp + 0x1c0]
push str.END_Invoice_Definition_Table
push eax
call fcn.004a6450
test eax, eax
pop ecx
pop ecx
jne 0x45548a
lea eax, [esp + 0x1c0]
push str.There_are_no_parts_matching_the_selection_criteria__please_try_again...
push eax
call fcn.004a6450
test eax, eax
pop ecx
pop ecx
je 0x454d0e
mov dword [esp + 0x9c], 1
jmp 0x455469
lea eax, [esp + 0x1c0]
push eax
lea eax, [esp + 0x5c4]
push eax
call fcn.004a64e0
and dword [esp + 0x9c], 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x1cc]
call fcn.0047717c
add esp, 0xc
test eax, eax
je 0x455469
push eax
call fcn.004a8d7f
test eax, eax
pop ecx
mov ecx, dword [esp + 0x70]
mov dword [ecx], eax
jle 0x455469
cmp dword [esp + 0x1c], 0
jle 0x454d7a
mov ecx, dword [esp + 0x54]
cmp eax, dword [ecx]
jne 0x454d7a
mov dword [esp + 0x94], 1
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
test eax, eax
pop ecx
je 0x455469
push eax
call fcn.004a8d7f
pop ecx
mov ecx, dword [esp + 0x78]
mov word [ecx], ax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
test eax, eax
pop ecx
je 0x455469
push eax
mov ecx, pe_nt_image_headers32
lea eax, [esp + 0xc4]
call fcn.00475883
pop ecx
call fcn.0047625d
lea eax, [esp + 0xc0]
push eax
mov eax, dword [esp + 0x2c]
push 0x21
pop ecx
call fcn.00475883
pop ecx
mov edx, eax
call fcn.00475851
test eax, eax
je 0x454e04
mov eax, dword [esp + 0x28]
push str.Unknown_Account_Name
push 0x21
pop ecx
call fcn.00475883
pop ecx
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
test eax, eax
pop ecx
je 0x455469
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.00498929
mov esi, eax
lea edi, [esp + 0xa8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0x64]
movsd dword es:[edi], dword [esi]
pop ecx
pop ecx
movsd dword es:[edi], dword [esi]
push 0
sub esp, 0x10
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, ebx
movsd dword es:[edi], dword [esi]
call fcn.00498d45
add esp, 0x14
call fcn.00455a1c
mov ecx, dword [esp + 0x48]
sub esp, 0x10
lea esi, [esp + 0xb0]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ecx], eax
movsd dword es:[edi], dword [esi]
call fcn.00497fb2
mov esi, eax
push esi
call fcn.00497fdc
add esp, 0x14
test eax, eax
je 0x455465
mov eax, dword [esp + 0x24]
mov dword [eax], esi
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
test eax, eax
pop ecx
je 0x455465
push eax
call fcn.004a8d7f
pop ecx
mov ecx, dword [esp + 0x64]
mov byte [ecx], al
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
mov esi, eax
test esi, esi
pop ecx
je 0x455465
push esi
call fcn.004a8d7f
mov edi, dword [esp + 0x90]
pop ecx
mov ebx, eax
call fcn.00468aba
test ax, ax
mov edi, dword [esp + 0x3c]
mov word [edi], ax
jne 0x454efa
push esi
call fcn.004a8d7f
pop ecx
mov word [edi], ax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
mov esi, eax
test esi, esi
pop ecx
je 0x455465
push esi
call fcn.004a8d7f
mov edi, dword [esp + 0x90]
pop ecx
mov ebx, eax
call fcn.00468aba
test ax, ax
mov edi, dword [esp + 0x88]
mov word [edi], ax
jne 0x454f43
push esi
call fcn.004a8d7f
pop ecx
mov word [edi], ax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
mov edi, eax
test edi, edi
pop ecx
je 0x455465
push edi
call fcn.004a8d7f
test eax, eax
pop ecx
jle 0x454f9e
mov esi, dword [esp + 0x3c]
mov ax, word [esi]
mov ecx, dword [esp + 0x38]
push edi
mov word [ecx], ax
call fcn.004a8d7f
mov edi, dword [esp + 0x90]
pop ecx
mov ebx, eax
call fcn.00468aba
test ax, ax
mov word [esi], ax
jne 0x454f9e
mov eax, dword [esp + 0x38]
mov ax, word [eax]
mov word [esi], ax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
test eax, eax
pop ecx
je 0x455465
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
test eax, eax
pop ecx
je 0x455465
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
test eax, eax
pop ecx
je 0x455465
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
test eax, eax
pop ecx
je 0x455465
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
test eax, eax
pop ecx
je 0x455465
call fcn.0043a4ed
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
test eax, eax
pop ecx
je 0x455465
call fcn.0043a4ed
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
test eax, eax
pop ecx
je 0x455465
call fcn.0043a4ed
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
test ecx, ecx
mov edx, dword [esp + 0x20]
mov dword [edx], eax
je 0x455082
sub eax, ecx
mov ecx, dword [esp + 0x40]
mov dword [edx], eax
mov dword [ecx], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
mov edi, eax
test edi, edi
pop ecx
je 0x455465
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
mov ebx, eax
test ebx, ebx
pop ecx
je 0x455465
mov esi, dword [esp + 0x6c]
push edi
mov byte [esi], 0
call fcn.004a8d7f
dec eax
pop ecx
je 0x4550d6
dec eax
je 0x45515b
dec eax
jne 0x4550e8
mov byte [esi], 1
push ebx
call fcn.004a8d7f
pop ecx
call fcn.004554d6
mov ecx, dword [esp + 0x18]
mov byte [ecx], al
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
test eax, eax
pop ecx
je 0x455465
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
test eax, eax
pop ecx
je 0x455465
push eax
mov ebx, pe_nt_image_headers32
mov ecx, ebx
lea eax, [esp + 0xc4]
call fcn.00475883
pop ecx
mov esi, eax
call fcn.0047622c
cmp byte [esp + 0xc0], 0x31
je 0x455164
movsx eax, byte [esp + 0xc0]
call fcn.004756d4
cmp eax, 0x59
je 0x455164
mov eax, dword [esp + 0x34]
mov byte [eax], 0
jmp 0x45516b
mov eax, dword [esp + 0x18]
mov byte [eax], 9
jmp 0x4550e8
mov eax, dword [esp + 0x34]
mov byte [eax], 1
mov edi, dword [esp + 0x44]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
mov byte [edi], 0
call fcn.0047717c
test eax, eax
pop ecx
je 0x4551c7
push eax
mov ecx, ebx
lea eax, [esp + 0xc4]
call fcn.00475883
pop ecx
mov esi, eax
call fcn.0047622c
cmp byte [esp + 0xc0], 0x31
je 0x4551ba
movsx eax, byte [esp + 0xc0]
call fcn.004756d4
cmp eax, 0x59
jne 0x4551c7
mov ebx, dword [esp + 0x18]
mov al, byte [ebx]
mov byte [edi], al
mov byte [ebx], 0
jmp 0x4551cb
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x94], 0
mov esi, dword [esp + 0x14]
jne 0x4551de
and dword [esi], 0
jmp 0x4551f5
mov eax, dword [esp + 0x14]
cmp dword [eax], 4
jge 0x4551f5
mov eax, dword [esp + 0x7c]
inc dword [eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
call fcn.0047717c
test eax, eax
pop ecx
jne 0x455220
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
add eax, dword [esp + 0x2c]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x24]
mov dword [edx + eax*4 + 0x74], ecx
jmp 0x455233
call fcn.0043a4ed
mov ecx, dword [esi]
add ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x74], eax
mov eax, dword [esi]
add eax, dword [esp + 0x24]
mov cl, byte [ebx]
mov edi, dword [esp + 0x98]
mov byte [eax + edi + 0x6c], cl
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov ecx, dword [esp + 0x74]
mov dword [ecx], eax
mov al, byte [ebx]
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x90]
mov byte [ecx], al
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
xor ecx, ecx
mov byte [ebx], 0
call fcn.0047717c
mov edx, eax
pop ecx
mov dword [esp + 0x90], edx
call fcn.00475851
test eax, eax
jne 0x4552bb
and dword [esp + 0x14], eax
mov ecx, dword [esp + 0x90]
mov al, byte [ecx]
test al, al
je 0x4552bb
mov edx, ecx
call fcn.004767fe
test eax, eax
je 0x4552aa
inc dword [esp + 0x14]
inc edx
mov al, byte [edx]
test al, al
jne 0x45529d
cmp dword [esp + 0x14], 4
jl 0x4552bb
mov byte [ebx], 1
mov eax, dword [esi]
mov ecx, dword [esp + 0x24]
mov dl, byte [ebx]
add eax, ecx
cmp dword [esp + 0x94], 0
mov byte [eax + edi + 0x8e], dl
je 0x4553d2
mov eax, dword [esi]
add eax, ecx
add eax, edi
mov dl, byte [eax + 0x6c]
mov byte [eax - 0x24], dl
mov eax, dword [esi]
mov edx, dword [esp + 0x2c]
add eax, edx
mov edx, dword [ecx + eax*4 + 0x74]
mov dword [ecx + eax*4 - 0x1c], edx
mov eax, dword [esi]
add eax, ecx
add eax, edi
mov cl, byte [eax + 0x8e]
mov byte [eax - 2], cl
cmp byte [ebx], 0
je 0x455311
mov eax, dword [esp + 0x68]
mov byte [eax], 1
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
mov al, cl
call fcn.004578f2
test eax, eax
je 0x45534f
push ecx
call fcn.00457947
add esp, 4
test eax, eax
jne 0x45534f
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov edx, dword [esp + 0x4c]
cmp eax, dword [edx]
jne 0x45534f
mov eax, dword [esp + 0x50]
mov byte [eax], cl
mov eax, dword [esp + 0x44]
mov al, byte [eax]
mov ecx, dword [esp + 0x58]
mov byte [ecx], al
dec dword [esp + 0x1c]
sub dword [esp + 0x2c], 0x24
mov eax, 0x90
sub dword [esp + 0x80], eax
sub dword [esp + 0x70], eax
sub dword [esp + 0x54], eax
sub dword [esp + 0x78], eax
sub dword [esp + 0x28], eax
sub dword [esp + 0x5c], eax
sub dword [esp + 0x48], eax
sub dword [esp + 0x64], eax
sub dword [esp + 0x88], eax
sub dword [esp + 0x38], eax
sub dword [esp + 0x3c], eax
sub dword [esp + 0x30], eax
sub dword [esp + 0x40], eax
sub dword [esp + 0x6c], eax
sub dword [esp + 0x34], eax
sub dword [esp + 0x7c], eax
sub dword [esp + 0x74], eax
sub dword [esp + 0x84], eax
sub dword [esp + 0x68], eax
sub dword [esp + 0x4c], eax
sub dword [esp + 0x20], eax
sub dword [esp + 0x18], eax
sub dword [esp + 0x50], eax
sub dword [esp + 0x44], eax
sub edi, eax
sub esi, eax
sub ebx, eax
sub dword [esp + 0x58], eax
jmp 0x4553d7
mov eax, 0x90
inc dword [esp + 0x1c]
add dword [esp + 0x2c], 0x24
add dword [esp + 0x80], eax
add dword [esp + 0x70], eax
add dword [esp + 0x54], eax
add dword [esp + 0x78], eax
add dword [esp + 0x28], eax
add dword [esp + 0x5c], eax
add dword [esp + 0x48], eax
add dword [esp + 0x64], eax
add dword [esp + 0x88], eax
add dword [esp + 0x38], eax
add dword [esp + 0x3c], eax
add dword [esp + 0x30], eax
add dword [esp + 0x40], eax
add dword [esp + 0x6c], eax
add dword [esp + 0x34], eax
add dword [esp + 0x7c], eax
add dword [esp + 0x74], eax
add dword [esp + 0x84], eax
add dword [esp + 0x68], eax
add dword [esp + 0x4c], eax
add dword [esp + 0x20], eax
add dword [esp + 0x18], eax
add dword [esp + 0x50], eax
add dword [esp + 0x44], eax
add edi, eax
add esi, eax
add ebx, eax
add dword [esp + 0x58], eax
mov dword [esp + 0x98], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x24]
push dword [esp + 0x60]
lea eax, [esp + 0x1c4]
push 0x3ff
push eax
call fcn.0043b3b5
add esp, 0xc
test eax, eax
jne 0x454c8e
mov esi, dword [esp + 0x60]
push 0
xor edi, edi
call fcn.0043b079
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x90]
pop ecx
mov dword [ebx + 4], edi
call fcn.0046860e
test edi, edi
jne 0x4554bd
cmp dword [esp + 0x9c], edi
jne 0x4554bd
or dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x9c4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a69f5
mov esp, ebp
pop ebp
ret