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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x12c4
call fcn.0040c5c0
push ebx
push esi
mov esi, dword [ebp + 8]
lea ebx, [esi + 0xb8c]
xor eax, eax
cmp dword [ebx + 0x38], eax
push edi
mov dword [ebx + 0x88], eax
jne 0x4021f3
push ebx
call fcn.0040adbb
push ebx
call fcn.0040af9d
jmp 0x402224
xor ecx, ecx
cmp dword [ebx + 0x78], eax
sete cl
mov edi, ecx
mov eax, edi
imul eax, eax, 0x3c
add eax, ebx
push eax
mov dword [esp + 0x14], eax
call fcn.0040adbb
push dword [esp + 0x10]
call fcn.0040af9d
mov edx, dword [ebx + 0x78]
mov eax, edi
call fcn.0040b1d7
mov dword [ebx + 0x78], edi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
and dword [esp + 0x14], 0
cmp dword [esi + 0xc14], 0
jle 0x4023d7
lea eax, [esi + 0xc08]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
call fcn.00402513
and dword [esp + 0x18], 0
cmp dword [esi + 0x3c], 0
mov edi, eax
mov dword [esp + 0x10], edi
jle 0x4022d9
lea ebx, [edi + 4]
jmp 0x402270
mov esi, eax
push dword [esp + 0x18]
call fcn.004053a4
mov esi, eax
xor eax, eax
cmp word [ebx], ax
je 0x402294
lea eax, [esi + 0x10]
push eax
push ebx
call sub.msvcrt.dll__wcsicmp
test eax, eax
pop ecx
pop ecx
je 0x4022d5
jmp 0x4022a4
mov ecx, dword [edi]
cmp ecx, dword [esi + 0x21c]
jne 0x4022a4
cmp word [esi + 0x10], ax
je 0x4022b6
inc dword [esp + 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x3c]
jl 0x40226e
jmp 0x4022d9
cmp word [ebx], ax
je 0x4022d5
push ebx
lea edi, [esi + 0x10]
mov eax, 0x104
call fcn.0040360c
pop ecx
mov ecx, esi
call fcn.00401c81
mov edi, dword [esp + 0x10]
test esi, esi
jne 0x40232a
lea esi, [esp + 0x28]
call fcn.00401bfc
mov eax, dword [ebp + 8]
mov ebx, esi
call fcn.00406488
mov esi, eax
add edi, 4
lea ebx, [esi + 0x10]
push edi
mov eax, 0x104
mov edi, ebx
call fcn.0040360c
pop ecx
mov ecx, esi
call fcn.00401c81
cmp word [ebx], 0
jne 0x40231b
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esi + 0x21c], eax
and word [esi + 4], 0
mov edi, dword [esp + 0x10]
mov word [esi + 6], 1
mov eax, dword [edi + 0x250]
add dword [esi + 0x220], eax
mov eax, dword [edi + 0x254]
adc dword [esi + 0x224], eax
mov eax, dword [edi + 0x258]
add dword [esi + 0x228], eax
mov eax, dword [edi + 0x25c]
push dword [esi + 0x224]
adc dword [esi + 0x22c], eax
mov ecx, dword [edi + 0x238]
push dword [esi + 0x220]
lea eax, [esi + 0x230]
add dword [eax], ecx
mov ecx, dword [edi + 0x23c]
adc dword [eax + 4], ecx
mov ecx, dword [edi + 0x240]
lea eax, [esi + 0x238]
add dword [eax], ecx
mov ecx, dword [edi + 0x244]
adc dword [eax + 4], ecx
lea ecx, [esi + 0x240]
lea eax, [esp + 0x28]
call fcn.00401ab2
push dword [esi + 0x22c]
lea ecx, [esi + 0x268]
push dword [esi + 0x228]
lea eax, [esp + 0x28]
call fcn.00401ab2
inc dword [esp + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0xc14]
mov esi, eax
jl 0x40224b
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
jle 0x40240d
jmp 0x4023e2
mov esi, eax
push ebx
call fcn.004053a4
mov edi, eax
push 1
lea esi, [edi + 0x240]
call fcn.00401b08
push 1
lea esi, [edi + 0x268]
call fcn.00401b08
mov eax, dword [ebp + 8]
inc ebx
cmp ebx, dword [eax + 0x3c]
jl 0x4023e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4