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

Disassembly:
push ebp
push ebx
push edi
mov edx, 0x22
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x40ea5e
call fcn.004622c0
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [0x495001], 0x5000403
mov dword [0x495001], 0x500040b
mov dword [esp + 0x6c], 0x640
mov dword [0x495001], 0x500040c
mov dword [esp + 0x70], 0x708
mov dword [0x495001], 0x500040d
mov dword [esp + 0x74], 0x7d0
mov dword [0x495001], 0x500040e
mov dword [esp + 0x78], 0x898
mov dword [0x495001], 0x500040f
mov dword [esp + 0x7c], 0x960
mov dword [0x495001], 0x5000410
mov dword [esp + 0x80], 0xa28
mov dword [0x495001], 0x5000413
call fcn.0045ea80
cdq
push edx
push eax
pop dword [esp + 0x38]
pop dword [esp + 0x38]
mov dword [0x495001], 0x5000414
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, str._dd._mm._yyyy__hh:_ii:_ss
push eax
call fcn.0045ead6
lea eax, [esp + 0x54]
push eax
call fcn.00462360
mov dword [0x495001], 0x5000415
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push 0xd
mov ebp, dword [esp + 0xac]
mov eax, dword [ebp + 0xa]
cdq
push edx
push eax
call fcn.0045d0d0
call fcn.0042b2b2
add dword [esp], edx
call fcn.0045c960
call fcn.0042b2d0
push edx
push eax
pop dword [esp + 0x40]
pop dword [esp + 0x40]
mov dword [0x495001], 0x5000416
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
mov eax, dword [esp + 0x44]
push eax
mov eax, str._dd._mm._yyyy__hh:_ii:_ss
push eax
call fcn.0045ead6
lea eax, [esp + 0x58]
push eax
call fcn.00462360
mov dword [0x495001], 0x5000417
push dword [esp + 0x38]
push dword [esp + 0x38]
lea eax, [esp + 0x44]
mov edx, dword [eax]
sub dword [esp], edx
mov edx, dword [eax + 4]
sbb dword [esp + 4], edx
pop dword [esp + 0x48]
pop dword [esp + 0x48]
mov dword [0x495001], 0x500041d
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [0x495001], 0x500041e
mov dword [esp + 0x84], 0
jmp 0x40ec2f
mov dword [0x495001], 0x500041e
mov eax, 0xb
cmp eax, dword [esp + 0x84]
jl 0x40edc7
mov dword [0x495001], 0x5000420
mov ebx, dword [esp + 0x84]
mov edx, dword [esp]
mov ebp, dword [edx]
imul ebx, ebx, 0x11
add ebp, ebx
mov ebx, dword [ebp + 1]
and ebx, ebx
je 0x40ecd3
mov dword [0x495001], 0x5000421
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push 0xd
mov ebx, dword [esp + 0x94]
mov edx, dword [esp + 0x10]
mov ebp, dword [edx]
imul ebx, ebx, 0x11
add ebp, ebx
mov eax, dword [ebp + 1]
cdq
push edx
push eax
call fcn.0045d0d0
call fcn.0042b2b2
add dword [esp], edx
call fcn.0045c960
call fcn.0042b2d0
push edx
push eax
lea eax, [esp + 0x4c]
mov edx, dword [eax]
add dword [esp], edx
mov edx, dword [eax + 4]
adc dword [esp + 4], edx
pop dword [esp + 8]
pop dword [esp + 8]
mov dword [0x495001], 0x5000422
mov dword [0x495001], 0x5000424
push dword [esp + 8]
push dword [esp + 8]
pop ebx
pop edi
cmp edi, dword [esp + 0x30]
jl 0x40ed03
jg 0x40ecff
cmp ebx, dword [esp + 0x2c]
jb 0x40ed03
xor eax, eax
jmp 0x40ed08
mov eax, 1
or eax, eax
je 0x40ed1b
mov dword [0x495001], 0x5000425
jmp 0x40edc7
mov dword [0x495001], 0x5000426
mov dword [0x495001], 0x5000427
push dword [esp + 8]
push dword [esp + 8]
pop ebx
pop edi
cmp ebx, 0
jne 0x40ed43
cmp edi, 0
je 0x40ed47
xor eax, eax
jmp 0x40ed4c
mov eax, 1
or eax, eax
je 0x40ed5c
mov dword [0x495001], 0x5000428
jmp 0x40edc7
mov dword [0x495001], 0x5000429
mov dword [0x495001], 0x500042a
push dword [esp + 0x84]
pop eax
mov dword [esp + 0x4c], eax
mov dword [0x495001], 0x500042b
push dword [esp + 8]
push dword [esp + 8]
pop dword [esp + 0x30]
pop dword [esp + 0x30]
mov dword [0x495001], 0x500042c
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [0x495001], 0x500042d
inc dword [esp + 0x84]
jno 0x40ec25
mov dword [0x495001], 0x5000430
mov dword [esp + 0x84], 0
jmp 0x40ede8
mov dword [0x495001], 0x5000430
mov eax, 0xb
cmp eax, dword [esp + 0x84]
jl 0x40f914
mov dword [0x495001], 0x5000431
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [0x495001], 0x5000432
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [0x495001], 0x5000434
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp]
mov ebp, dword [edx]
imul ebx, ebx, 0x11
add ebp, ebx
mov ebx, dword [ebp + 5]
and ebx, ebx
je 0x40eeba
mov dword [0x495001], 0x5000435
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push 0xd
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x10]
mov ebp, dword [edx]
imul ebx, ebx, 0x11
add ebp, ebx
mov eax, dword [ebp + 5]
cdq
push edx
push eax
call fcn.0045d0d0
call fcn.0042b2b2
add dword [esp], edx
call fcn.0045c960
call fcn.0042b2d0
push edx
push eax
lea eax, [esp + 0x4c]
mov edx, dword [eax]
add dword [esp], edx
mov edx, dword [eax + 4]
adc dword [esp + 4], edx
pop dword [esp + 0x10]
pop dword [esp + 0x10]
mov dword [0x495001], 0x5000436
mov dword [0x495001], 0x5000437
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp]
mov ebp, dword [edx]
imul ebx, ebx, 0x11
add ebp, ebx
mov ebx, dword [ebp + 1]
and ebx, ebx
je 0x40ef50
mov dword [0x495001], 0x5000438
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push 0xd
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x10]
mov ebp, dword [edx]
imul ebx, ebx, 0x11
add ebp, ebx
mov eax, dword [ebp + 1]
cdq
push edx
push eax
call fcn.0045d0d0
call fcn.0042b2b2
add dword [esp], edx
call fcn.0045c960
call fcn.0042b2d0
push edx
push eax
lea eax, [esp + 0x4c]
mov edx, dword [eax]
add dword [esp], edx
mov edx, dword [eax + 4]
adc dword [esp + 4], edx
pop dword [esp + 8]
pop dword [esp + 8]
mov dword [0x495001], 0x5000439
mov dword [0x495001], 0x500043b
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [0x495001], 0x500043c
push dword [esp + 0x10]
push dword [esp + 0x10]
pop ebx
pop edi
cmp edi, 0
jg 0x40ef98
jl 0x40ef94
cmp ebx, 0
ja 0x40ef98
xor eax, eax
jmp 0x40ef9d
mov eax, 1
or eax, eax
je 0x40efcb
mov dword [0x495001], 0x500043d
push dword [esp + 0x10]
push dword [esp + 0x10]
lea eax, [esp + 0xc]
mov edx, dword [eax]
sub dword [esp], edx
mov edx, dword [eax + 4]
sbb dword [esp + 4], edx
pop dword [esp + 0x18]
pop dword [esp + 0x18]
mov dword [0x495001], 0x500043e
mov dword [0x495001], 0x5000441
mov ebx, dword [esp + 0x84]
and ebx, ebx
jne 0x40f004
mov dword [0x495001], 0x5000442
push dword [esp + 8]
push dword [esp + 8]
pop dword [esp + 0x28]
pop dword [esp + 0x28]
mov dword [0x495001], 0x5000443
mov dword [0x495001], 0x5000446
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [0x495001], 0x5000447
push dword [esp + 8]
push dword [esp + 8]
pop ebx
pop edi
cmp edi, 0
jg 0x40f04c
jl 0x40f048
cmp ebx, 0
ja 0x40f04c
xor eax, eax
jmp 0x40f051
mov eax, 1
or eax, eax
je 0x40f07f
mov dword [0x495001], 0x5000448
push dword [esp + 0x30]
push dword [esp + 0x30]
lea eax, [esp + 0xc]
mov edx, dword [eax]
sub dword [esp], edx
mov edx, dword [eax + 4]
sbb dword [esp + 4], edx
pop dword [esp + 0x20]
pop dword [esp + 0x20]
mov dword [0x495001], 0x5000449
mov dword [0x495001], 0x500044c
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp]
mov ebp, dword [edx]
imul ebx, ebx, 0x11
add ebp, ebx
movzx ebx, byte [ebp]
push ebx
mov dword [0x495001], 0x500044d
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x40f0de
mov dword [0x495001], 0x500044e
mov edx, 0x4989a2
lea ecx, [esp + 0x64]
call fcn.0042b008
mov dword [0x495001], 0x500044f
jmp 0x40f170
mov dword [0x495001], 0x500044f
mov ebx, 1
cmp ebx, dword [esp]
jne 0x40f116
mov dword [0x495001], 0x5000450
mov edx, str.NO_TS_OFF
lea ecx, [esp + 0x64]
call fcn.0042b008
mov dword [0x495001], 0x5000451
jmp 0x40f170
mov dword [0x495001], 0x5000451
mov ebx, 2
cmp ebx, dword [esp]
jne 0x40f14e
mov dword [0x495001], 0x5000452
mov edx, str.RESET
lea ecx, [esp + 0x64]
call fcn.0042b008
mov dword [0x495001], 0x5000453
jmp 0x40f170
mov dword [0x495001], 0x5000453
mov dword [0x495001], 0x5000454
mov edx, str.ERROR
lea ecx, [esp + 0x64]
call fcn.0042b008
mov dword [0x495001], 0x5000455
pop eax
mov dword [0x495001], 0x5000458
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push 5
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push 0
push 0xe10
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0042b050
mov dword [esp], eax
mov dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
call fcn.0045d0d0
mov edx, 0x495799
push edx
call fcn.004623f0
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
mov eax, 0x4956bd
push eax
push 2
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push 5
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0
push 0xe10
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0042b100
mov dword [esp], eax
mov dword [esp + 4], edx
push 0
push 0x3c
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0042b050
mov dword [esp], eax
mov dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
call fcn.0045d0d0
call fcn.0042b2b2
add dword [esp], edx
call fcn.0045cbd0
pop eax
mov edx, 0x495799
push edx
call fcn.004623f0
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
mov eax, 0x4956bd
push eax
push 2
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push 5
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0
push 0xe10
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0042b100
mov dword [esp], eax
mov dword [esp + 4], edx
push 0
push 0x3c
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0042b100
mov dword [esp], eax
mov dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
call fcn.0045d0d0
call fcn.0042b2b2
add dword [esp], edx
call fcn.0045cbd0
pop eax
lea eax, [esp + 0x6c]
push eax
call fcn.00462360
mov dword [0x495001], 0x5000459
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push 5
push dword [esp + 0x24]
push dword [esp + 0x24]
push 0
push 0xe10
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0042b050
mov dword [esp], eax
mov dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
call fcn.0045d0d0
mov edx, 0x495799
push edx
call fcn.004623f0
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
mov eax, 0x4956bd
push eax
push 2
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push 5
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0
push 0xe10
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0042b100
mov dword [esp], eax
mov dword [esp + 4], edx
push 0
push 0x3c
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0042b050
mov dword [esp], eax
mov dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
call fcn.0045d0d0
call fcn.0042b2b2
add dword [esp], edx
call fcn.0045cbd0
pop eax
mov edx, 0x495799
push edx
call fcn.004623f0
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
mov eax, 0x4956bd
push eax
push 2
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push 5
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0
push 0xe10
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0042b100
mov dword [esp], eax
mov dword [esp + 4], edx
push 0
push 0x3c
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0042b100
mov dword [esp], eax
mov dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
call fcn.0045d0d0
call fcn.0042b2b2
add dword [esp], edx
call fcn.0045cbd0
pop eax
lea eax, [esp + 0x68]
push eax
call fcn.00462360
mov dword [0x495001], 0x500045c
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp]
mov ebp, dword [edx]
imul ebx, ebx, 0x11
add ebp, ebx
lea eax, [ebp + 9]
push dword [eax + 4]
push dword [eax]
pop ebx
pop edi
cmp ebx, 0
jne 0x40f4b3
cmp edi, 0
jne 0x40f4b3
xor eax, eax
jmp 0x40f4b8
mov eax, 1
or eax, eax
je 0x40f4e7
mov dword [0x495001], 0x500045d
push dword [esp + 0x60]
mov ebx, dword [esp + 0x70]
add ebx, dword [esp + 0x88]
push ebx
call fcn.00439d43
mov dword [0x495001], 0x500045e
jmp 0x40f512
mov dword [0x495001], 0x500045e
mov dword [0x495001], 0x500045f
mov eax, 0x49538c
push eax
mov ebx, dword [esp + 0x70]
add ebx, dword [esp + 0x88]
push ebx
call fcn.00439d43
mov dword [0x495001], 0x5000460
mov dword [0x495001], 0x5000461
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp]
mov ebp, dword [edx]
imul ebx, ebx, 0x11
add ebp, ebx
lea eax, [ebp + 9]
push dword [eax + 4]
push dword [eax]
pop ebx
pop edi
cmp ebx, 0
jne 0x40f54c
cmp edi, 0
jne 0x40f54c
xor eax, eax
jmp 0x40f551
mov eax, 1
or eax, eax
je 0x40f5cb
mov dword [0x495001], 0x5000462
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push 0xd
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x10]
mov ebp, dword [edx]
imul ebx, ebx, 0x11
add ebp, ebx
lea eax, [ebp + 9]
push dword [eax + 4]
push dword [eax]
call fcn.0045d0d0
call fcn.004624b0
mov ebx, dword [esp + 0x80]
add ebx, dword [esp + 0x8c]
push ebx
call fcn.0042b2b2
add dword [esp + 4], edx
call fcn.00439d43
call fcn.0042b2d0
mov dword [0x495001], 0x5000463
jmp 0x40f5f6
mov dword [0x495001], 0x5000463
mov dword [0x495001], 0x5000464
mov eax, 0x49538c
push eax
mov ebx, dword [esp + 0x7c]
add ebx, dword [esp + 0x88]
push ebx
call fcn.00439d43
mov dword [0x495001], 0x5000465
mov dword [0x495001], 0x5000466
push dword [esp + 8]
push dword [esp + 8]
pop ebx
pop edi
cmp ebx, 0
jne 0x40f622
cmp edi, 0
jne 0x40f622
xor eax, eax
jmp 0x40f627
mov eax, 1
or eax, eax
je 0x40f68d
mov dword [0x495001], 0x5000467
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
mov eax, dword [esp + 0x10]
push eax
mov eax, str._dd._mm..__hh:_ii:_ss
push eax
call fcn.0045ead6
call fcn.004624b0
mov ebx, dword [esp + 0x78]
add ebx, dword [esp + 0x8c]
push ebx
call fcn.0042b2b2
add dword [esp + 4], edx
call fcn.00439d43
call fcn.0042b2d0
mov dword [0x495001], 0x5000468
jmp 0x40f6b8
mov dword [0x495001], 0x5000468
mov dword [0x495001], 0x5000469
mov eax, 0x49538c
push eax
mov ebx, dword [esp + 0x74]
add ebx, dword [esp + 0x88]
push ebx
call fcn.00439d43
mov dword [0x495001], 0x500046a
mov dword [0x495001], 0x500046b
push dword [esp + 0x10]
push dword [esp + 0x10]
pop ebx
pop edi
cmp ebx, 0
jne 0x40f6e4
cmp edi, 0
jne 0x40f6e4
xor eax, eax
jmp 0x40f6e9
mov eax, 1
or eax, eax
je 0x40f74f
mov dword [0x495001], 0x500046c
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
push edx
call fcn.00462320
pop edx
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, str._dd._mm..__hh:_ii:_ss
push eax
call fcn.0045ead6
call fcn.004624b0
mov ebx, dword [esp + 0x7c]
add ebx, dword [esp + 0x8c]
push ebx
call fcn.0042b2b2
add dword [esp + 4], edx
call fcn.00439d43
call fcn.0042b2d0
mov dword [0x495001], 0x500046d
jmp 0x40f77a
mov dword [0x495001], 0x500046d
mov dword [0x495001], 0x500046e
mov eax, 0x49538c
push eax
mov ebx, dword [esp + 0x78]
add ebx, dword [esp + 0x88]
push ebx
call fcn.00439d43
mov dword [0x495001], 0x500046f
mov dword [0x495001], 0x5000470
push dword [esp + 0x18]
push dword [esp + 0x18]
pop ebx
pop edi
cmp ebx, 0
jne 0x40f7a6
cmp edi, 0
jne 0x40f7a6
xor eax, eax
jmp 0x40f7ab
mov eax, 1
or eax, eax
je 0x40f7dd
mov dword [0x495001], 0x5000471
push dword [esp + 0x64]
mov ebx, dword [esp + 0x80]
add ebx, dword [esp + 0x88]
push ebx
call fcn.00439d43
mov dword [0x495001], 0x5000472
jmp 0x40f80b
mov dword [0x495001], 0x5000472
mov dword [0x495001], 0x5000473
mov eax, 0x49538c
push eax
mov ebx, dword [esp + 0x80]
add ebx, dword [esp + 0x88]
push ebx
call fcn.00439d43
mov dword [0x495001], 0x5000474
mov dword [0x495001], 0x5000475
push dword [esp + 0x20]
push dword [esp + 0x20]
pop ebx
pop edi
cmp ebx, 0
jne 0x40f837
cmp edi, 0
jne 0x40f837
xor eax, eax
jmp 0x40f83c
mov eax, 1
or eax, eax
je 0x40f86e
mov dword [0x495001], 0x5000476
push dword [esp + 0x68]
mov ebx, dword [esp + 0x84]
add ebx, dword [esp + 0x88]
push ebx
call fcn.00439d43
mov dword [0x495001], 0x5000477
jmp 0x40f89c
mov dword [0x495001], 0x5000477
mov dword [0x495001], 0x5000478
mov eax, 0x49538c
push eax
mov ebx, dword [esp + 0x84]
add ebx, dword [esp + 0x88]
push ebx
call fcn.00439d43
mov dword [0x495001], 0x5000479
mov dword [0x495001], 0x5000482
mov ebx, dword [esp + 0x4c]
and ebx, ebx
jne 0x40f8d6
mov dword [0x495001], 0x5000483
mov dword [esp + 0x4c], 0xb
mov dword [0x495001], 0x5000484
jmp 0x40f8f3
mov dword [0x495001], 0x5000484
mov dword [0x495001], 0x5000485
mov ebx, dword [esp + 0x4c]
dec ebx
mov dword [esp + 0x4c], ebx
mov dword [0x495001], 0x5000486
mov dword [0x495001], 0x5000488
inc dword [esp + 0x84]
jno 0x40edde
mov dword [0x495001], 0x500048a
xor eax, eax
push dword [esp + 0x64]
call fcn.00462450
push dword [esp + 0x68]
call fcn.00462450
push dword [esp + 0x54]
call fcn.00462450
push dword [esp + 0x60]
call fcn.00462450
push dword [esp + 0x50]
call fcn.00462450
add esp, 0x88
pop edi
pop ebx
pop ebp
ret 8