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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x974
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
xor eax, eax
mov esi, ecx
cmp edi, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0x416312d0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
je 0x544a6e
mov ebx, dword [ebp + 8]
cmp ebx, eax
je 0x544a6e
fld qword [ebx + 0x24]
fcomp qword [0x5733a0]
fnstsw ax
test ah, 0x41
je 0x54448f
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
fld qword [ebx + 0x24]
fcomp qword [0x57c858]
fnstsw ax
test ah, 0x41
je 0x5444c6
mov eax, dword [ebp + 0x14]
push edi
fld qword [ebx + 0x24]
push eax
call sub.MSVCRT.dll__ftol
mov ecx, eax
mov eax, dword [ebp + 0x10]
cdq
idiv ecx
mov ecx, esi
push eax
push ebx
call fcn.00544a80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x180]
push 0xfa
lea eax, [esp + 0x30]
push edx
push eax
push ecx
push ebx
mov ecx, esi
call fcn.00545290
mov eax, dword [ebp + 0x10]
mov ebx, dword [esp + 0x2c]
cdq
idiv ebx
xor ecx, ecx
test ebx, ebx
mov dword [esp + 0x5c], eax
jle 0x544537
lea edx, [esp + 0x180]
fld qword [edx]
fld qword [esp + 0x40]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x544516
fst qword [esp + 0x40]
mov dword [esp + 0x34], ecx
fld qword [esp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x54452d
fstp qword [esp + 0x10]
mov dword [esp + 0x30], ecx
jmp 0x54452f
fstp st(0)
inc ecx
add edx, 8
cmp ecx, ebx
jl 0x5444ff
mov ecx, dword [ebp + 8]
fld qword [ecx + 0xc]
fcomp qword [ecx + 0x1c]
fnstsw ax
test ah, 1
je 0x544559
mov eax, dword [esp + 0x30]
lea edx, [ebx - 1]
cmp eax, edx
jne 0x544559
lea eax, [ebx - 2]
mov dword [esp + 0x30], eax
fld qword [ecx + 0x14]
fst qword [esp + 0x50]
fcomp qword [ecx + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x54457c
mov eax, dword [esp + 0x34]
lea ecx, [ebx - 1]
cmp eax, ecx
jne 0x54457c
add ebx, 0xfffffffe
mov dword [esp + 0x34], ebx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x1b8c]
push edx
push eax
call fcn.00429ac0
fst qword [esp + 0x20]
fsub qword [esi + 0x1b58]
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
fcomp qword [0x565b00]
fnstsw ax
test ah, 0x41
jne 0x54467b
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCRT.dll_gmtime]
add esp, 4
test eax, eax
je 0x54460f
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0x14]
mov eax, dword [esi + 0x1b5c]
inc ecx
add edx, 0x76c
push ecx
mov ecx, dword [esi + 0x1b58]
push edx
push eax
push ecx
push str.__high_value__.4lf_at__04d._02d._02d__02d:_02d_and_price__.4lf_mismatched_
lea edx, [esp + 0xa8]
push 0xff
push edx
call ebx
add esp, 0x30
jmp 0x54463e
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x1b5c]
push eax
mov eax, dword [esi + 0x1b58]
push ecx
push edx
push eax
push str.__high_value__.4lf_and_price__.4lf_mismatched_
lea ecx, [esp + 0x94]
push 0xff
push ecx
call ebx
add esp, 0x1c
lea edx, [esp + 0x80]
push edx
push str.TestGenerator:_unmatched_data_error_s
push 1
push 0x5960a0
call fcn.0046b660
mov eax, dword [esi + 0x1b90]
mov ecx, dword [esi + 0x1b5c]
add esp, 0x10
inc eax
mov dword [esi + 0x1b90], eax
mov eax, dword [esi + 0x1b58]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x1b8c]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
push edx
push eax
call fcn.00429ac0
fstp qword [esp + 0x18]
fld qword [esi + 0x1b60]
fsub qword [esp + 0x18]
fcomp qword [0x565b00]
fnstsw ax
test ah, 0x41
jne 0x544779
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCRT.dll_gmtime]
add esp, 4
test eax, eax
je 0x54470d
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0x14]
mov eax, dword [esi + 0x1b64]
inc ecx
add edx, 0x76c
push ecx
mov ecx, dword [esi + 0x1b60]
push edx
push eax
push ecx
push str.__low_value__.4lf_at__04d._02d._02d__02d:_02d_and_price__.4lf_mismatched_
lea edx, [esp + 0xa8]
push 0xff
push edx
call ebx
add esp, 0x30
jmp 0x54473c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x1b64]
push eax
mov eax, dword [esi + 0x1b60]
push ecx
push edx
push eax
push str.__low_value__.4lf_and_price__.4lf_mismatched_
lea ecx, [esp + 0x94]
push 0xff
push ecx
call ebx
add esp, 0x1c
lea edx, [esp + 0x80]
push edx
push str.TestGenerator:_unmatched_data_error_s
push 1
push 0x5960a0
call fcn.0046b660
mov eax, dword [esi + 0x1b90]
mov ecx, dword [esi + 0x1b64]
add esp, 0x10
inc eax
mov dword [esi + 0x1b90], eax
mov eax, dword [esi + 0x1b60]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
fld qword [esp + 0x40]
fsub qword [esp + 0x10]
fcom qword [esi + 0x1b70]
fnstsw ax
test ah, 1
je 0x544796
fstp st(0)
fld qword [esi + 0x1b70]
fcom qword [esi + 0x1b70]
mov ebx, dword [ebp + 8]
fnstsw ax
test ah, 0x41
je 0x5447db
fld qword [ebx + 0x24]
fmul qword [0x56e370]
call sub.MSVCRT.dll__ftol
fld qword [ebx + 0x1c]
fcomp qword [ebx + 4]
mov ecx, eax
fnstsw ax
test ah, 0x41
jne 0x5447d0
lea edx, [ecx + ecx]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jmp 0x5447db
lea eax, [ecx + ecx]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
fld qword [esp + 0x60]
fsub qword [esp + 0x18]
mov ecx, dword [esi + 0x1b8c]
sub esp, 8
fstp qword [esp + 0x40]
fld qword [esp + 0x40]
fmul st(1)
fld qword [esp + 0x28]
fsub qword [esp + 0x20]
fdivp st(1)
fadd qword [esp + 0x18]
fstp qword [esp]
fstp st(0)
call fcn.00429ac0
fstp qword [esp + 0x70]
fld qword [esp + 0x40]
fsub qword [esp + 0x70]
fld qword [esp + 0x70]
fsub qword [esp + 0x10]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
fstp qword [esp + 0x10]
fcom qword [0x565ac0]
fnstsw ax
test ah, 0x41
jne 0x54486f
fld qword [esp + 0x20]
fsub qword [esp + 0x60]
fdiv st(1)
fstp qword [esp + 0x68]
fstp st(0)
fld qword [esp + 0x10]
fcomp qword [0x565ac0]
fnstsw ax
test ah, 0x41
jne 0x54488e
fld qword [esp + 0x38]
fdiv qword [esp + 0x10]
fstp qword [esp + 0x50]
fild dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
fdivr qword [ebx + 0x24]
mov ebx, 1
cmp eax, ebx
mov dword [esp + 0x38], ebx
fstp qword [esp + 0x78]
jle 0x544a60
lea eax, [esp + 0x188]
mov dword [esp + 0x4c], eax
cmp ebx, dword [esp + 0x34]
jne 0x5448d1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
jmp 0x544942
cmp ebx, dword [esp + 0x30]
jne 0x5448e9
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jmp 0x544923
mov edx, dword [esp + 0x4c]
fld qword [edx]
fsub qword [esp + 0x70]
fcom qword [0x565ac0]
fnstsw ax
test ah, 0x41
jne 0x544906
fmul qword [esp + 0x68]
jmp 0x54490a
fmul qword [esp + 0x50]
fadd qword [esp + 0x60]
mov ecx, dword [esi + 0x1b8c]
sub esp, 8
fstp qword [esp]
call fcn.00429ac0
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x544942
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fld qword [esp + 0x10]
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 1
je 0x544961
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
fild dword [esp + 0x38]
fmul qword [esp + 0x78]
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x2c]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
add eax, ecx
mov ecx, dword [edi + 0x2c]
fcomp qword [edx + 0x24]
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
fnstsw ax
test ah, 1
je 0x5449d5
fld qword [edi + 0x24]
push edi
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
mov ecx, esi
call fcn.005455e0
test eax, eax
je 0x544a6e
mov ecx, dword [esp + 0x2c]
dec ecx
cmp ebx, ecx
jge 0x544a44
fild dword [esp + 0x38]
fstp qword [edi + 0x24]
fld qword [edi + 0x14]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x544a01
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [edi + 0x14], edx
mov dword [edi + 0x18], eax
fld qword [edi + 0xc]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x544a1d
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x5c]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0x20], ecx
add eax, edx
push edi
mov ecx, esi
mov dword [edi + 0x2c], eax
call fcn.00542f70
test eax, eax
je 0x544a6e
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x2c]
inc ebx
add ecx, 8
cmp ebx, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], ecx
jl 0x5448b9
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14