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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x522c7c
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x2e0], eax
push ebx
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x2f8]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebx + 0x3c]
mov dword [ebx + 0x40], esi
mov edx, dword [ecx + 8]
push edx
push eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], esi
call fcn.0040f410
xor edi, edi
push 0x10000
mov dword [esp + 0x18], vtable.t_fileTextWrite.0
mov dword [esp + 0x20], 0x10000
mov dword [esp + 0x24], edi
call fcn.004fdc99
add esp, 4
mov dword [esp + 0x18], eax
push 0x5bb928
mov ecx, esi
mov dword [esp + 0x304], edi
call fcn.0047c930
mov eax, 0x568fb8
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x568fe4
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.___1
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.___2
lea esi, [esp + 0x14]
call fcn.00479250
mov ecx, 0x7530
mov edx, eax
call fcn.00479340
mov esi, eax
mov eax, str.NIlW__f
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x56907c
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x5690a0
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x5690b4
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x5690e8
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x5690fc
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x56912c
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x56913c
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x569160
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.___4
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x5691e0
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x569238
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x569264
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x5692a0
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x5692f4
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x569308
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____year_____t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____year_yy_t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____month______t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____month_mm___t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____day______t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____day_dd_t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____weekday__t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x569528
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x569570
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____ampm_____tAM
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____minute___t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____second___t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____year_cn__t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____year_yy_cn_t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____month_cn_t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____day_cn___t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____weekday_cn__t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____fullhour_cn_t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____halfhour_cn_t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____ampm_cn__t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____minute_cn_t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, str.____second_cn_t
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x569900
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, 0x569944
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 4]
push edi
push edi
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x10000
mov dword [esp + 0x34], eax
call fcn.004fc111
add esp, 4
cmp dword [esp + 0x30], edi
mov esi, eax
mov dword [esp + 0x2c], esi
jle 0x49d4e1
jmp 0x49d266
mov esi, dword [esp + 0x2c]
push 0x2c
lea ecx, [esp + 0x2c8]
push 0
push ecx
call fcn.005002f0
xor eax, eax
mov word [esi], ax
mov ecx, dword [ebx + 0x1e0]
add esp, 0xc
mov dword [esp + 0x2bc], eax
mov word [esp + 0x2c0], ax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x3c]
push eax
lea edx, [esp + 0x2c8]
push edi
mov dword [esp + 0x5c], 0x16
mov dword [esp + 0x58], edx
mov edx, dword [ecx + 4]
push 0x1073
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x1e0]
lea eax, [esp + 0x3c]
push eax
push edi
mov dword [esp + 0x4c], 1
mov dword [esp + 0x5c], 0x7fff
mov dword [esp + 0x58], esi
mov edx, dword [ecx + 4]
push 0x1073
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebx + 0x1e0]
lea ecx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x2c0]
push edi
mov dword [esp + 0x4c], 2
mov dword [esp + 0x5c], 3
mov dword [esp + 0x58], eax
mov eax, dword [edx + 4]
push 0x1073
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x569980
push esi
call fcn.004fe1dc
add esp, 8
test eax, eax
mov eax, esi
setne byte [esp + 0x27]
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x49d340
sub eax, ecx
sar eax, 1
cmp eax, 0x82
jae 0x49d35d
mov ecx, esi
call fcn.004ab9c0
mov ecx, dword [ebx + 0x1e0]
mov edx, dword [ecx + 4]
push 0xf000
push edi
push 0x102c
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0xc
sub eax, 1
jne 0x49d436
cmp byte [esp + 0x27], al
je 0x49d400
lea eax, [esp + 0x2bc]
push eax
call fcn.004fe07a
mov dword [esp + 0x2c], eax
add esp, 4
lea eax, [esp + 0x2c4]
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x569984
call fcn.00479250
mov ecx, dword [esp + 0x28]
mov edx, eax
call fcn.00479340
mov esi, eax
mov eax, 0x5540a4
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
mov esi, eax
mov eax, dword [esp + 0x2c]
call fcn.00479250
mov ecx, dword [esp + 0x30]
add ecx, 0xffffffff
cmp edi, ecx
je 0x49d4d4
lea esi, [esp + 0x14]
jmp 0x49d4ca
lea edx, [esp + 0x2bc]
push edx
call fcn.004fe07a
mov dword [esp + 0x2c], eax
add esp, 4
lea eax, [esp + 0x2c4]
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x569984
call fcn.00479250
mov ecx, dword [esp + 0x28]
jmp 0x49d4aa
cmp byte [esp + 0x27], 0
je 0x49d476
lea eax, [esp + 0x2bc]
push eax
call fcn.004fe07a
mov dword [esp + 0x2c], eax
add esp, 4
lea eax, [esp + 0x2c4]
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x553c9c
call fcn.00479250
mov ecx, dword [esp + 0x28]
jmp 0x49d3be
lea edx, [esp + 0x2bc]
push edx
call fcn.004fe07a
mov dword [esp + 0x2c], eax
add esp, 4
lea eax, [esp + 0x2c4]
lea esi, [esp + 0x14]
call fcn.00479250
mov esi, eax
mov eax, 0x553c9c
call fcn.00479250
mov ecx, dword [esp + 0x28]
mov edx, eax
call fcn.00479340
mov esi, eax
mov eax, 0x5540a4
call fcn.00479250
mov esi, eax
mov eax, dword [esp + 0x2c]
call fcn.00479250
mov esi, eax
mov eax, 0x550c44
call fcn.00479250
add edi, 1
cmp edi, dword [esp + 0x30]
jl 0x49d262
mov ebx, dword [ebx + 0x6c]
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
mov ebx, eax
lea eax, [esp + 0x1a0]
mov dword [esp + 0x19c], eax
xor eax, eax
lea ecx, [eax + 1]
lea esi, [esp + 0x19c]
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
mov byte [esp + 0x2b0], 1
mov word [esp + 0x2ae], 4
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x2b4], eax
mov dword [esp + 0x198], eax
call fcn.0046b260
cmp byte [esp + 0x2b0], 0
lea eax, [esp + 0x1a0]
jne 0x49d558
mov eax, dword [esp + 0x19c]
mov word [eax + 4], 0
cmp byte [ebx + 0x11c], 0
je 0x49d56c
add ebx, 0xc
jmp 0x49d56f
mov ebx, dword [ebx + 8]
lea edi, [ebx + 4]
test edi, edi
jne 0x49d57b
mov edi, 0x54b914
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49d580
sub eax, edx
sar eax, 1
lea ebx, [eax + 1]
mov ecx, ebx
lea esi, [esp + 0x19c]
mov dword [esp + 0x198], eax
call fcn.0046b260
cmp byte [esp + 0x2b0], 0
lea eax, [esp + 0x1a0]
jne 0x49d5bf
mov eax, dword [esp + 0x19c]
lea ecx, [ebx + ebx]
push ecx
add eax, 4
push edi
push eax
call fcn.004fff80
add esp, 0xc
lea ecx, [esp + 0x70]
call fcn.0046a650
mov eax, str.Phrases.ini
lea edx, [esp + 0x70]
call fcn.0046a7f0
mov cl, byte [esp + 0x18c]
test cl, cl
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x7c]
jne 0x49d5fc
mov edx, eax
cmp word [edx + 4], 0x2e
jne 0x49d658
test cl, cl
je 0x49d60b
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x74]
lea esi, [eax + 4]
mov eax, dword [esp + 0x198]
cmp eax, ecx
jbe 0x49d649
cmp byte [esp + 0x2b0], 0
lea edx, [esp + 0x1a0]
jne 0x49d635
mov edx, dword [esp + 0x19c]
sub eax, ecx
lea edx, [edx + eax*2 + 4]
push esi
push edx
call fcn.004fe715
add esp, 8
test eax, eax
je 0x49d668
push esi
lea eax, [esp + 0x198]
call fcn.0046aa40
jmp 0x49d668
lea eax, [esp + 0x70]
lea esi, [esp + 0x194]
call fcn.0046e110
cmp byte [esp + 0x18c], 0
mov edi, vtable.t_str.0
mov dword [esp + 0x70], edi
jne 0x49d690
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x7c]
cmp eax, ecx
je 0x49d690
push eax
call fcn.004fdda1
add esp, 4
mov ebx, dword [esp + 0x38]
lea edx, [esp + 0x194]
push edx
lea esi, [esp + 0x18]
mov byte [esp + 0x304], 7
call fcn.004790e0
test al, al
jne 0x49d717
mov ecx, ebx
call fcn.00470820
push 0x56998c
push 0x551604
push eax
call fcn.0046adf0
add esp, 0xc
cmp byte [esp + 0x2b0], 0
mov dword [esp + 0x194], edi
jne 0x49d6f7
mov eax, dword [esp + 0x19c]
lea ecx, [esp + 0x1a0]
cmp eax, ecx
je 0x49d6f7
push eax
call fcn.004fdda1
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x14], vtable.t_fileTextWrite.0
je 0x49d710
push eax
call fcn.004fdda1
add esp, 4
xor al, al
jmp 0x49d791
mov ecx, dword [esp + 0x34]
push 0x5bb838
call fcn.0047c930
test al, al
je 0x49d739
mov edx, dword [0x5ab390]
add edx, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x49d74a
push eax
call fcn.004ff376
add esp, 4
cmp byte [esp + 0x2b0], 0
mov dword [esp + 0x194], edi
jne 0x49d776
mov eax, dword [esp + 0x19c]
lea ecx, [esp + 0x1a0]
cmp eax, ecx
je 0x49d776
push eax
call fcn.004fdda1
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x14], vtable.t_fileTextWrite.0
je 0x49d78f
push eax
call fcn.004fdda1
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x2f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.004fe05a
mov esp, ebp
pop ebp
ret 8