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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
test edx, edx
mov dword [0x4292b0], ecx
je 0x41d9a0
mov eax, dword [edx]
mov dword [esp + 0x2c], eax
lea ebx, [esp + 0x2c]
mov dword [esp], ebx
call sub.msvcrt.dll_localtime
mov ecx, 0xffffffff
test eax, eax
je 0x41d555
mov edi, dword [eax + 0x14]
xor edx, edx
mov esi, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
add edi, 0x76c
inc esi
mov dword [0x429390], edi
mov ebp, dword [eax + 8]
mov edi, dword [eax + 4]
mov dword [0x429370], esi
mov esi, dword [eax]
mov dword [0x429340], ecx
mov ecx, dword [eax + 0x20]
xor eax, eax
mov dword [0x429350], ebp
mov ebp, 2
mov dword [0x429360], edi
xor edi, edi
mov dword [0x429380], esi
xor esi, esi
mov dword [esp + 0x80], ecx
xor ecx, ecx
mov dword [0x4293a0], ebp
xor ebp, ebp
mov dword [0x4293f0], edi
xor edi, edi
mov dword [0x4293d0], esi
xor esi, esi
mov dword [0x4293c0], eax
xor eax, eax
mov dword [0x4293b0], ecx
xor ecx, ecx
mov dword [0x4293e0], edx
xor edx, edx
mov dword [0x429400], ebp
mov dword [0x4292e0], edi
mov dword [0x4292f0], esi
mov dword [0x429300], ecx
mov dword [0x429310], edx
mov dword [0x429320], eax
call fcn.0041c090
test eax, eax
jne 0x41d550
mov edx, dword [0x429310]
cmp edx, 1
jle 0x41d562
mov ecx, 0xffffffff
add esp, 0x9c
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [0x429320], 1
jg 0x41d550
mov edi, dword [0x4292e0]
cmp edi, 1
jg 0x41d550
mov ebp, dword [0x4292f0]
cmp ebp, 1
jg 0x41d550
mov eax, dword [0x429390]
test eax, eax
js 0x41d994
cmp eax, 0x44
jg 0x41d981
add eax, 0x7d0
mov ecx, dword [0x429400]
lea esi, [ecx + eax - 0x76c]
mov eax, dword [0x429370]
mov dword [esp + 0x28], ecx
mov ecx, dword [0x4293e0]
mov dword [esp + 0x74], esi
mov dword [esp + 0x24], ecx
add ecx, eax
mov eax, dword [0x4293b0]
dec ecx
mov dword [esp + 0x70], ecx
mov esi, eax
mov dword [esp + 0x20], eax
mov eax, dword [0x429340]
add esi, eax
test edx, edx
mov dword [esp + 0x6c], esi
jne 0x41d5ff
mov ecx, dword [0x429300]
test ecx, ecx
je 0x41d964
test edi, edi
jne 0x41d964
test ebp, ebp
jne 0x41d964
mov eax, dword [0x4293a0]
mov ecx, dword [0x429350]
cmp eax, 1
je 0x41d940
cmp eax, 1
jb 0x41d91d
cmp eax, 2
jne 0x41d9b1
cmp ecx, 0x18
sbb esi, esi
not esi
or esi, ecx
mov dword [esp + 0x68], esi
test esi, esi
mov ecx, 0xffffffff
js 0x41d555
mov ecx, dword [0x429360]
mov esi, dword [0x429380]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], esi
or edi, ebp
mov esi, dword [0x4293c0]
mov ebp, dword [esp + 0x20]
add dword [esp + 0x68], esi
or edi, edx
mov edx, dword [esp + 0x24]
or edi, ebp
mov ecx, dword [0x4293d0]
mov esi, dword [0x4293f0]
add dword [esp + 0x64], ecx
or edi, edx
add dword [esp + 0x60], esi
or edi, dword [esp + 0x28]
je 0x41d693
mov edi, 0xffffffff
mov dword [esp + 0x80], edi
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x30], esi
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x44], esi
lea esi, [esp + 0x60]
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], edx
mov dword [esp], esi
call fcn.0041f4d0
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
je 0x41d880
mov ecx, dword [0x4292f0]
test ecx, ecx
je 0x41d776
mov edx, dword [0x4292e0]
test edx, edx
jne 0x41d776
mov eax, dword [esp + 0x78]
mov ecx, dword [0x4292d0]
sub ecx, eax
mov eax, 0x92492493
add ecx, 7
imul ecx
mov ebp, ecx
sar ebp, 0x1f
lea edi, [edx + ecx]
sar edi, 2
sub edi, ebp
lea ebp, [edi*8]
sub ebp, edi
mov edi, dword [esp + 0x6c]
sub ecx, ebp
mov ebp, dword [0x4292c0]
lea edx, [ebp*8]
sub edx, ebp
lea eax, [edx + ecx]
add eax, edi
test ebp, ebp
jle 0x41d758
sub eax, 7
mov dword [esp + 0x6c], eax
mov dword [esp], esi
call fcn.0041f4d0
mov ecx, 0xffffffff
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x41d555
mov esi, dword [0x429320]
test esi, esi
jne 0x41d787
mov ecx, eax
jmp 0x41d555
mov dword [esp], ebx
call sub.msvcrt.dll_gmtime
mov ecx, 0xffffffff
test eax, eax
mov ebp, eax
je 0x41d555
mov esi, dword [0x429330]
mov edi, dword [eax + 0x14]
mov edx, dword [eax + 0x1c]
mov ecx, esi
shl ecx, 4
sub ecx, esi
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + 0x74]
add edi, 0x76b
mov eax, edi
add esi, 0x76b
mov ecx, dword [esp + 0x7c]
mov ebx, esi
sar eax, 2
sar ebx, 2
sub ebx, eax
mov eax, 0x51eb851f
sub ecx, edx
imul esi
add ecx, ebx
mov eax, 0x51eb851f
mov ebx, edx
mov edx, esi
sar edx, 0x1f
sar ebx, 5
sub ebx, edx
sub esi, edi
imul edi
mov eax, edi
sar eax, 0x1f
sar edx, 5
sub edx, eax
mov eax, ebx
sub eax, edx
sar ebx, 2
sub ecx, eax
sar edx, 2
sub ebx, edx
lea edx, [esi + esi*8]
add ecx, ebx
mov eax, dword [ebp + 8]
lea ebx, [esi + edx*8]
mov edx, dword [esp + 0x68]
lea edi, [ebx + ebx*4]
add ecx, edi
mov edi, dword [ebp + 4]
sub edx, eax
lea esi, [ecx + ecx*2]
lea ebx, [edx + esi*8]
mov eax, dword [ebp]
mov edx, dword [esp + 0x64]
mov esi, ebx
mov ecx, dword [esp + 0x60]
shl esi, 4
sub edx, edi
sub esi, ebx
lea ebx, [edx + esi*4]
mov edi, ebx
mov esi, dword [esp + 0x1c]
sub ecx, eax
shl edi, 4
sub edi, ebx
mov ebp, dword [esp + 0x2c]
lea ebx, [ecx + edi*4]
lea edi, [ebx + esi*4]
lea ebx, [edi + ebp]
cmp ebx, ebp
setl cl
shr edi, 0x1f
movzx edx, cl
mov ecx, 0xffffffff
cmp edx, edi
jne 0x41d555
mov dword [esp + 0x2c], ebx
mov eax, ebx
jmp 0x41d780
mov edi, dword [0x429320]
test edi, edi
je 0x41d8f7
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x70], ebp
mov edx, dword [esp + 0x48]
mov dword [esp + 0x64], edi
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x3c]
cmp ebp, 0x46
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edx
jg 0x41d90a
sub dword [0x429330], 0x5a0
lea ebp, [ecx + 1]
mov dword [esp + 0x6c], ebp
mov dword [esp], esi
call fcn.0041f4d0
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
mov ecx, 0xffffffff
jne 0x41d6f7
jmp 0x41d555
add dword [0x429330], 0x5a0
lea edi, [ecx - 1]
mov dword [esp + 0x6c], edi
jmp 0x41d8eb
lea eax, [ecx - 1]
cmp eax, 0xb
mov esi, 0xffffffff
ja 0x41d62e
xor eax, eax
cmp ecx, 0xc
sete al
lea esi, [eax - 1]
and esi, ecx
jmp 0x41d62e
lea eax, [ecx - 1]
cmp eax, 0xb
mov esi, 0xffffffff
ja 0x41d62e
xor eax, eax
cmp ecx, 0xc
sete al
dec eax
and ecx, eax
lea esi, [ecx + 0xc]
jmp 0x41d62e
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
jmp 0x41d653
cmp eax, 0x63
jg 0x41d59c
add eax, 0x76c
jmp 0x41d59c
neg eax
jmp 0x41d58e
mov dword [esp], 0
call sub.msvcrt.dll_time
jmp 0x41d478
call sub.msvcrt.dll_abort
popal
insd dword es:[edi], dx
add byte [ecx + 0x2e], ah
insd dword es:[edi], dx
add byte cs:[eax + 0x6d], dh
add byte [eax + 0x2e], dh
insd dword es:[edi], dx
add byte cs:[ebx + esi*2 + 0x74], ah
add byte [ebp + 0xb6], cl
add byte [ebp + 0x57], dl
push ebp
push edi
push esi
push ebx
sub esp, 0xc
mov ebp, dword [esp + 0x20]
movzx eax, byte [ebp]
mov ebx, ebp
test al, al
je 0x41da22
lea esi, [esi]
lea edi, [edi]
mov ecx, dword [sym.imp.msvcrt.dll___mb_cur_max]
movzx edx, al
cmp dword [ecx], 1
je 0x41dcf2
mov dword [esp + 4], 1
mov dword [esp], edx
call sub.msvcrt.dll__isctype
test eax, eax
jne 0x41dce0
inc ebx
movzx eax, byte [ebx]
test al, al
jne 0x41d9f0
cld
mov esi, ebp
mov edi, 0x41d9b6
mov ecx, 3
repe cmpsb byte [esi], byte es:[edi]
je 0x41da43
mov esi, ebp
mov edi, 0x41d9b9
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
jne 0x41da5a
xor ebx, ebx
mov dword [0x429bb0], ebx
mov ecx, 0x108
add esp, 0xc
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
cld
mov esi, ebp
mov edi, 0x41d9be
mov ecx, 3
repe cmpsb byte [esi], byte es:[edi]
je 0x41da7b
mov esi, ebp
mov edi, 0x41d9c1
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
jne 0x41da88
mov ebp, 1
mov dword [0x429bb0], ebp
jmp 0x41da4b
mov dword [esp], ebp
mov esi, 1
call sub.msvcrt.dll_strlen
cmp eax, 3
je 0x41daad
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
cmp eax, 4
je 0x41dcc3
xor esi, esi
mov ecx, dword [0x41c9e0]
mov ebx, 0x41c9e0
test ecx, ecx
je 0x41daeb
test esi, esi
je 0x41dcb0
mov dword [esp + 8], 3
mov edi, dword [ebx]
mov dword [esp], ebp
mov dword [esp + 4], edi
call sub.msvcrt.dll_strncmp
test eax, eax
je 0x41dc4c
add ebx, 0xc
mov ecx, dword [ebx]
test ecx, ecx
jne 0x41dabc
mov eax, dword [0x41ce20]
mov ebx, 0x41ce20
test eax, eax
je 0x41db16
mov dword [esp + 4], eax
mov dword [esp], ebp
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41dc4c
add ebx, 0xc
mov eax, dword [ebx]
test eax, eax
jne 0x41daf9
cld
mov ecx, 4
mov esi, ebp
mov edi, 0x41d9c6
repe cmpsb byte [esi], byte es:[edi]
mov ecx, 0x105
seta al
setb bl
cmp al, bl
je 0x41da50
mov eax, dword [0x41cb60]
mov ebx, 0x41cb60
test eax, eax
je 0x41db63
mov dword [esp + 4], eax
mov dword [esp], ebp
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41dc4c
add ebx, 0xc
mov eax, dword [ebx]
test eax, eax
jne 0x41db46
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
lea esi, [eax - 1]
cmp byte [esi + ebp], 0x73
je 0x41dc76
mov eax, dword [0x41cc60]
mov ebx, 0x41cc60
test eax, eax
je 0x41dba3
mov dword [esp + 4], eax
mov dword [esp], ebp
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41dc4c
add ebx, 0xc
mov eax, dword [ebx]
test eax, eax
jne 0x41db86
cmp byte [ebp + 1], 0
jne 0x41dbf7
movzx edx, byte [ebp]
mov esi, dword [sym.imp.msvcrt.dll___mb_cur_max]
cmp dword [esi], 1
je 0x41dc60
mov dword [esp + 4], 0x103
mov dword [esp], edx
call sub.msvcrt.dll__isctype
test eax, eax
je 0x41dbf7
mov eax, dword [0x41d0c0]
mov ebx, 0x41d0c0
test eax, eax
je 0x41dbf7
mov dword [esp + 4], eax
mov dword [esp], ebp
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41dc4c
add ebx, 0xc
mov eax, dword [ebx]
test eax, eax
jne 0x41dbde
movzx eax, byte [ebp]
xor esi, esi
mov edx, ebp
mov ebx, ebp
test al, al
je 0x41dc14
cmp al, 0x2e
je 0x41dc5d
mov byte [ebx], al
inc ebx
inc edx
movzx eax, byte [edx]
test al, al
jne 0x41dc05
mov byte [ebx], 0
test esi, esi
je 0x41dc42
mov eax, dword [0x41ce20]
mov ebx, 0x41ce20
test eax, eax
je 0x41dc42
mov dword [esp + 4], eax
mov dword [esp], ebp
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41dc4c
add ebx, 0xc
mov eax, dword [ebx]
test eax, eax
jne 0x41dc29
mov ecx, 0x107
jmp 0x41da50
mov ebp, dword [ebx + 8]
mov dword [0x429bb0], ebp
mov ecx, dword [ebx + 4]
jmp 0x41da50
inc esi
jmp 0x41dc0c
mov ecx, dword [sym.imp.msvcrt.dll__pctype]
mov edi, dword [ecx]
movzx eax, word [edi + edx*2]
and eax, 0x103
jmp 0x41dbcc
mov byte [esi + ebp], 0
mov eax, dword [0x41cb60]
mov ebx, 0x41cb60
test eax, eax
je 0x41dca1
mov dword [esp + 4], eax
mov dword [esp], ebp
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41dc4c
add ebx, 0xc
mov eax, dword [ebx]
test eax, eax
jne 0x41dc88
mov byte [esi + ebp], 0x73
jmp 0x41db78
mov edx, dword [ebx]
mov dword [esp], ebp
mov dword [esp + 4], edx
call sub.msvcrt.dll_strcmp
jmp 0x41dada
cmp byte [ebp + 3], 0x2e
jne 0x41daab
mov byte [ebp + 3], 0
mov esi, 1
jmp 0x41daad
movsx edx, byte [ebx]
mov dword [esp], edx
call sub.msvcrt.dll_tolower
mov byte [ebx], al
jmp 0x41da1a
mov edi, dword [sym.imp.msvcrt.dll__pctype]
mov esi, dword [edi]
movzx ecx, word [esi + edx*2]
and ecx, 1
movzx eax, cx
jmp 0x41da12