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

Disassembly:
sub esp, 0x9c
mov eax, dword [0x514d34]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xa8]
push ebx
mov ebx, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0xb4]
push edi
mov cl, byte [ebx]
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
test cl, cl
je 0x40a227
push ebp
lea ebp, [esi - 4]
add esi, 0xfffffff8
cmp cl, 0x25
jne 0x40a200
inc ebx
mov cl, byte [ebx]
test cl, cl
je 0x40a219
cmp cl, 0x25
je 0x40a200
push str.str_
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x409969
add ebp, 4
add esi, 4
mov dword [esp + 0x10], esi
add ebx, 4
mov esi, dword [ebp]
push esi
call fcn.00447230
push eax
push esi
push edi
call dword [esp + 0x24]
add esp, 0x10
jmp 0x40a1e1
push str.txt_
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x4099ae
push 4
pop eax
add ebp, eax
add esi, eax
mov dword [esp + 0x10], esi
add ebx, eax
add dword [esp + 0x10], eax
mov esi, dword [ebp]
add ebp, eax
movzx eax, word [ebp]
push eax
push esi
call fcn.0040a51c
movzx eax, ax
push eax
push esi
push edi
call dword [esp + 0x28]
add esp, 0x14
jmp 0x40a1e1
push str.wstr_
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x409a05
add ebp, 4
lea ecx, [esp + 0x50]
add ebx, 5
add esi, 4
mov eax, dword [ebp]
push eax
mov dword [esp + 0x24], eax
call fcn.00408313
mov dword [esp + 0x10], eax
cmp dword [eax + 0x14], 0x10
jb 0x4099ea
mov eax, dword [eax]
mov dword [esp + 0x10], eax
push dword [esp + 0x20]
call fcn.0044769f
push eax
push dword [esp + 0x18]
push edi
call dword [esp + 0x24]
add esp, 0x10
jmp 0x409f7e
push str.wtxt_
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x409a50
push 4
pop ecx
add ebp, ecx
add esi, ecx
add esi, ecx
add ebx, 5
mov eax, dword [ebp]
add ebp, ecx
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], eax
call fcn.00408313
mov dword [esp + 0x10], eax
cmp dword [eax + 0x14], 0x10
jb 0x409a46
mov eax, dword [eax]
mov dword [esp + 0x10], eax
movzx eax, word [ebp]
push eax
jmp 0x409f65
push str.utxt_
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x409a8c
push 4
pop eax
add ebp, eax
lea ecx, [esp + 0x50]
add esi, eax
add ebx, 5
add esi, eax
mov dword [esp + 0x10], esi
mov edi, dword [ebp]
add ebp, eax
mov esi, dword [ebp]
call fcn.00408368
push esi
push edi
push str._txt_
jmp 0x409ac6
push str.uwtxt_
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x409b0d
push 4
pop eax
add ebp, eax
lea ecx, [esp + 0x50]
add esi, eax
add ebx, 6
add esi, eax
mov dword [esp + 0x10], esi
mov edi, dword [ebp]
add ebp, eax
mov esi, dword [ebp]
call fcn.00408368
push esi
push edi
push str._wtxt_
lea eax, [esp + 0x5c]
push eax
call fcn.00408abf
add esp, 0x10
lea ecx, [esp + 0x50]
call fcn.004095ea
cmp dword [esp + 0x64], 0x10
lea eax, [esp + 0x50]
push dword [esp + 0x60]
cmovae eax, dword [esp + 0x54]
mov edi, dword [esp + 0x20]
push eax
push edi
call dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x50]
push 0
push 1
call fcn.0040758b
jmp 0x40a1e1
push str.qword__
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x409b63
movsx ax, byte [ebx + 7]
add esi, 8
push 0x30
pop ecx
add ebp, 8
sub ax, cx
movzx eax, ax
push eax
lea eax, [esp + 0x54]
push eax
push dword [esi + 4]
push dword [esi]
call fcn.0045b896
lea eax, [esp + 0x60]
add ebx, 8
push eax
call fcn.00447230
push eax
lea eax, [esp + 0x68]
push eax
push edi
call dword [esp + 0x34]
add esp, 0x20
jmp 0x40a20a
push str.dword__
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x409bb7
movsx ax, byte [ebx + 7]
add ebp, 4
push 0x30
pop ecx
add esi, 4
sub ax, cx
movzx eax, ax
push eax
lea eax, [esp + 0x94]
push eax
push dword [ebp]
call fcn.0045b214
lea eax, [esp + 0x9c]
add ebx, 8
push eax
call fcn.00447230
push eax
lea eax, [esp + 0xa4]
jmp 0x40a126
push str.word__
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x409c0d
movsx ax, byte [ebx + 6]
add ebp, 4
push 0x30
pop ecx
add esi, 4
sub ax, cx
movzx eax, ax
push eax
lea eax, [esp + 0x80]
push eax
movzx eax, word [ebp]
push eax
call fcn.0040a83c
lea eax, [esp + 0x88]
add ebx, 7
push eax
call fcn.00447230
push eax
lea eax, [esp + 0x90]
jmp 0x40a126
push str.byte__
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x409c5a
movsx ax, byte [ebx + 6]
add ebp, 4
push 0x30
pop ecx
add esi, 4
sub ax, cx
movzx eax, ax
push eax
lea eax, [esp + 0x30]
push eax
movzx eax, byte [ebp]
push eax
call fcn.00459f89
lea eax, [esp + 0x38]
add ebx, 7
push eax
call fcn.00447230
push eax
lea eax, [esp + 0x40]
jmp 0x40a126
push str.date__
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x409cd9
and dword [esp + 0x10], 0
add ebx, 6
movsx eax, byte [ebx]
push eax
call fcn.004477be
pop ecx
test ax, ax
je 0x409ca5
mov edi, dword [esp + 0x10]
inc edi
movzx eax, di
mov al, byte [eax + ebx]
movsx eax, al
push eax
call fcn.004477be
pop ecx
test ax, ax
jne 0x409c87
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
movzx ecx, ax
push 5
push eax
add ebx, ecx
mov eax, ebx
sub eax, ecx
push eax
call fcn.0040a476
push dword [esp + 0x40]
add ebp, 4
lea eax, [esp + 0x64]
push eax
add esi, 4
push dword [ebp]
call fcn.0045a54f
jmp 0x409d56
push str.date2__
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x409d6a
and dword [esp + 0x10], 0
add ebx, 7
movsx eax, byte [ebx]
push eax
call fcn.004477be
pop ecx
test ax, ax
je 0x409d24
mov edi, dword [esp + 0x10]
inc edi
movzx eax, di
mov al, byte [eax + ebx]
movsx eax, al
push eax
call fcn.004477be
pop ecx
test ax, ax
jne 0x409d06
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x34]
push edx
movzx ecx, ax
push 5
push eax
add ebx, ecx
mov eax, ebx
sub eax, ecx
push eax
call fcn.0040a476
push dword [esp + 0x44]
add ebp, 4
lea eax, [esp + 0x64]
push eax
add esi, 4
push dword [ebp]
call fcn.0045b006
lea eax, [esp + 0x6c]
push eax
call fcn.00447230
push eax
lea eax, [esp + 0x74]
jmp 0x40a020
push str.clock__
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x409e0c
and dword [esp + 0x10], 0
add ebx, 7
movsx eax, byte [ebx]
push eax
call fcn.004477be
pop ecx
test ax, ax
je 0x409db9
mov edi, dword [esp + 0x10]
inc edi
movzx eax, di
mov al, byte [eax + ebx]
movsx eax, al
push eax
call fcn.004477be
pop ecx
test ax, ax
jne 0x409d9b
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x38]
push edx
movzx ecx, ax
push 5
push eax
add ebx, ecx
mov eax, ebx
sub eax, ecx
push eax
call fcn.0040a476
push dword [esp + 0x48]
add ebp, 4
lea eax, [esp + 0x64]
push 0x14
push eax
add esi, 4
push dword [ebp]
call fcn.0045a090
lea eax, [esp + 0x70]
push 0x14
push eax
call fcn.0040a4fd
push eax
lea eax, [esp + 0x7c]
push eax
push edi
call dword [esp + 0x48]
add esp, 0x34
jmp 0x40a20a
push str.time__
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x409e60
movsx ax, byte [ebx + 6]
add ebp, 4
push 0x30
pop ecx
add esi, 4
sub ax, cx
movzx eax, ax
push eax
lea eax, [esp + 0x88]
push eax
push dword [ebp]
call fcn.0040a5b8
lea eax, [esp + 0x90]
add ebx, 7
push eax
call fcn.00447230
push eax
lea eax, [esp + 0x98]
jmp 0x40a126
push str.text__
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x409edd
add ebx, 6
and dword [esp + 0x24], 0
movsx eax, byte [ebx]
jmp 0x409e8d
inc eax
mov dword [esp + 0x24], eax
movzx eax, ax
mov al, byte [eax + ebx]
movsx eax, al
push eax
call fcn.004477be
test ax, ax
mov eax, dword [esp + 0x28]
pop ecx
jne 0x409e7f
lea edx, [esp + 0x24]
movzx ecx, ax
push edx
push 5
push eax
add ebx, ecx
mov eax, ebx
sub eax, ecx
push eax
call fcn.0040a476
push dword [esp + 0x34]
add ebp, 4
add esi, 4
mov dword [esp + 0x24], esi
mov esi, dword [ebp]
push esi
call fcn.0040a51c
movzx eax, ax
push eax
push esi
push edi
call dword [esp + 0x38]
add esp, 0x24
jmp 0x40a1e1
push str.wtext__
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x409f90
add ebx, 7
and dword [esp + 0x28], 0
movsx ax, byte [ebx]
jmp 0x409f0e
inc eax
mov dword [esp + 0x28], eax
movzx eax, ax
movsx ax, byte [eax + ebx]
movzx eax, ax
push eax
call fcn.00447709
test eax, eax
mov eax, dword [esp + 0x2c]
pop ecx
jne 0x409f01
lea edx, [esp + 0x28]
movzx ecx, ax
push edx
push 5
push eax
add ebx, ecx
mov eax, ebx
sub eax, ecx
push eax
call fcn.0040a476
add esp, 0x10
lea ecx, [esp + 0x50]
add ebp, 4
add esi, 4
mov eax, dword [ebp]
push eax
mov dword [esp + 0x24], eax
call fcn.00408313
mov dword [esp + 0x10], eax
cmp dword [eax + 0x14], 0x10
jb 0x409f61
mov eax, dword [eax]
mov dword [esp + 0x10], eax
push dword [esp + 0x28]
push dword [esp + 0x24]
call fcn.0040b8e5
movzx eax, ax
push eax
push dword [esp + 0x1c]
push edi
call dword [esp + 0x28]
add esp, 0x14
push 0
push 1
lea ecx, [esp + 0x58]
call fcn.0040758b
jmp 0x40a20a
push str.bcd__
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x40a02e
and dword [esp + 0x10], 0
add ebx, 5
movsx eax, byte [ebx]
push eax
call fcn.004477be
pop ecx
test ax, ax
je 0x409fdf
mov edi, dword [esp + 0x10]
inc edi
movzx eax, di
mov al, byte [eax + ebx]
movsx eax, al
push eax
call fcn.004477be
pop ecx
test ax, ax
jne 0x409fc1
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x3c]
push edx
movzx ecx, ax
push 5
push eax
add ebx, ecx
mov eax, ebx
sub eax, ecx
push eax
call fcn.0040a476
push dword [esp + 0x4c]
add ebp, 4
lea eax, [esp + 0x64]
push eax
add esi, 4
push dword [ebp]
call fcn.00458647
lea eax, [esp + 0x6c]
push eax
call fcn.00447230
push eax
lea eax, [esp + 0x74]
push eax
push edi
call dword [esp + 0x40]
add esp, 0x2c
jmp 0x40a20a
push str.bcdu__
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x40a0d7
and dword [esp + 0x10], 0
add ebx, 6
movsx eax, byte [ebx]
push eax
call fcn.004477be
pop ecx
test ax, ax
je 0x40a07d
mov edi, dword [esp + 0x10]
inc edi
movzx eax, di
mov al, byte [eax + ebx]
movsx eax, al
push eax
call fcn.004477be
pop ecx
test ax, ax
jne 0x40a05f
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x40]
push edx
movzx ecx, ax
push 5
push eax
add ebx, ecx
mov eax, ebx
sub eax, ecx
push eax
call fcn.0040a476
push 4
pop eax
push dword [esp + 0x50]
add ebp, eax
add esi, eax
add esi, eax
mov ecx, dword [ebp]
add ebp, eax
lea eax, [esp + 0x64]
push eax
movzx eax, byte [ebp]
push eax
push ecx
call fcn.00459556
lea eax, [esp + 0x70]
push eax
call fcn.00447230
push eax
lea eax, [esp + 0x78]
push eax
push edi
call dword [esp + 0x44]
add esp, 0x30
jmp 0x40a20a
push str.size__
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x40a134
movsx ax, byte [ebx + 6]
add ebp, 4
push 0x30
pop ecx
add esi, 4
sub ax, cx
movzx eax, ax
push eax
lea eax, [esp + 0xa0]
push eax
push dword [ebp]
call fcn.0045b214
lea eax, [esp + 0xa8]
add ebx, 7
push eax
call fcn.00447230
push eax
lea eax, [esp + 0xb0]
push eax
push edi
call dword [esp + 0x30]
add esp, 0x1c
jmp 0x40a20a
push str.char_
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x40a16a
add ebp, 4
add ebx, 5
push 1
add esi, 4
mov al, byte [ebp]
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push eax
push edi
call dword [esp + 0x20]
add esp, 0xc
jmp 0x40a20a
push str.eqstr__
push ebx
call fcn.0040a4e2
pop ecx
pop ecx
test ax, ax
jne 0x40a1e7
cmp byte [ebx + 7], 0x31
push 0x22
pop eax
push 0x27
pop ecx
cmove eax, ecx
add ebp, 4
mov dword [esp + 0x44], eax
add ebx, 8
add esi, 4
mov dword [esp + 0x48], ebx
mov dword [esp + 0x10], esi
mov eax, dword [ebp]
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], ebp
mov al, byte [eax]
test al, al
je 0x40a20a
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x44]
cmp al, bl
jne 0x40a1c8
push 1
push ebp
push edi
call esi
add esp, 0xc
push 1
push ebp
push edi
call esi
add esp, 0xc
inc ebp
mov al, byte [ebp]
test al, al
jne 0x40a1bb
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x10]
jmp 0x40a20a
push 1
push 0x4c067c
push edi
call dword [esp + 0x20]
push 1
push ebx
push edi
call dword [esp + 0x2c]
add esp, 0x18
jmp 0x40a209
push 1
push ebx
push edi
call eax
add esp, 0xc
inc ebx
mov cl, byte [ebx]
test cl, cl
je 0x40a226
mov eax, dword [esp + 0x14]
jmp 0x409915
push 1
push 0x4c067c
push edi
call eax
add esp, 0xc
pop ebp
mov ecx, dword [esp + 0xa4]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00441a5e
add esp, 0x9c
ret