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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101893d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov edx, dword [ebp + 0xc]
push ebx
cmp dword [edx + 0x10], 0
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x3c], 0
je 0x10021512
mov ecx, edx
call fcn.10004980
cmp word [eax], 0
je 0x10021512
cmp byte [ebp + 0x10], 0
je 0x1002113a
mov eax, dword [ebx]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.1016484a
add esp, 8
jmp 0x10021146
lea eax, [esp + 0x7c]
push eax
mov ecx, ebx
call fcn.10020fa0
call fcn.10020ea0
mov esi, eax
push 0
lea ebx, [esi + 0x48]
mov ecx, ebx
mov word [esi + 0x9c], 0
mov byte [esi + 0x9e], 0
call fcn.10005330
lea eax, [esi + 0x60]
mov ecx, eax
mov dword [esp + 0x30], eax
call fcn.10003770
mov edi, dword [ebx + 0x10]
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + ecx]
cmp edi, eax
ja 0x100211a7
cmp dword [ebx + 0x14], eax
je 0x100211a7
push 1
push eax
mov ecx, ebx
call fcn.10005370
test al, al
je 0x100211a7
push edi
mov ecx, ebx
call fcn.10005330
mov eax, dword [ebp + 0xc]
xor edi, edi
push eax
mov ecx, eax
mov dword [esp + 0x20], edi
call fcn.10004980
push eax
lea ecx, [esp + 0x18]
call fcn.10005460
mov eax, dword [ebp + 0xc]
push eax
mov ecx, eax
call fcn.10004980
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0x10]
lea eax, [eax + ecx*2]
push eax
lea ecx, [esp + 0x28]
call fcn.10005460
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.10008350
test al, al
jne 0x100213b1
jmp 0x10021200
mov eax, edi
sub eax, 0
je 0x10021333
dec eax
jne 0x10021378
lea ecx, [esp + 0x10]
call fcn.10001800
movzx eax, word [eax]
sub eax, 0x51
je 0x100212f6
sub eax, 0x20
je 0x100212c1
sub eax, 2
je 0x10021283
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.10004870
push 0x25
push dword [eax]
lea eax, [esp + 0x4c]
push eax
mov ecx, ebx
call fcn.10021680
lea ecx, [esp + 0x10]
call fcn.10001800
movzx edi, word [eax]
lea eax, [esp + 0x40]
push eax
mov ecx, ebx
call fcn.10004870
mov ecx, ebx
push edi
push dword [eax]
lea eax, [esp + 0x50]
push eax
call fcn.10021680
xor edi, edi
mov dword [esp + 0x1c], edi
jmp 0x10021378
cmp byte [esi + 0x9e], 0
jne 0x100212a7
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x30]
push dword [eax + 4]
push dword [eax]
call fcn.10021960
add esp, 8
mov byte [esi + 0x9e], 1
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x30]
push eax
mov ecx, ebx
call fcn.10005130
xor edi, edi
mov dword [esp + 0x1c], edi
jmp 0x10021378
cmp byte [esi + 0x9d], 0
jne 0x100212df
mov eax, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [eax + 8]
call fcn.10020ff0
mov byte [esi + 0x9d], 1
push 0xffffffffffffffff
push 0
push esi
mov ecx, ebx
call fcn.10005130
xor edi, edi
mov dword [esp + 0x1c], edi
jmp 0x10021378
cmp byte [esi + 0x9c], 0
jne 0x1002131c
lea eax, [esi + 0x78]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esi + 0x18]
mov edx, dword [eax + 8]
call fcn.10021030
add esp, 4
mov byte [esi + 0x9c], 1
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x18]
push eax
mov ecx, ebx
call fcn.10005130
xor edi, edi
mov dword [esp + 0x1c], edi
jmp 0x10021378
lea ecx, [esp + 0x10]
call fcn.10001800
cmp word [eax], 0x25
jne 0x1002134d
mov edi, 1
mov dword [esp + 0x1c], edi
jmp 0x10021378
lea ecx, [esp + 0x10]
call fcn.10001800
movzx edi, word [eax]
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
call fcn.10004870
mov ecx, ebx
push edi
push dword [eax]
lea eax, [esp + 0x30]
push eax
call fcn.10021680
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp + 0xc]
add dword [esp + 0x10], 2
push eax
mov ecx, eax
call fcn.10004980
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0x10]
lea eax, [eax + ecx*2]
push eax
lea ecx, [esp + 0x28]
call fcn.10005460
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.10008350
test al, al
je 0x10021200
push ebx
lea ecx, [esi + 0x60]
call fcn.1001b2f0
lea ecx, [esi + 0x60]
call fcn.10003770
lea edi, [eax + 1]
mov edx, edi
shl edx, 4
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
cmp edx, 0x400
cmovbe ecx, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], 0x400
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
lea ebx, [esi + 0x90]
push edi
mov ecx, ebx
call fcn.100215c0
call fcn.1016380f
mov ecx, dword [esp + 0x30]
mov dword [eax], 0
mov esi, dword [ebx]
lea eax, [esp + 0x7c]
push eax
call fcn.1000a370
push eax
push edi
push esi
call fcn.1016b42a
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100214a2
call fcn.1016380f
add edi, edi
cmp edi, dword [esp + 0x18]
jbe 0x100213f3
mov edx, dword [eax]
lea ecx, [esp + 0x64]
call fcn.1001eaa0
push eax
mov edx, str.Error_in_strftime__:
lea ecx, [esp + 0x50]
mov dword [esp + 0xb0], esi
call fcn.1001b520
add esp, 4
mov esi, eax
mov byte [esp + 0xac], 1
call fcn.1001f850
push 1
push esi
push str.log4cplus:ERROR
push 0x1001ba80
push 0x10205d58
mov ecx, eax
call fcn.1001bcb0
lea ecx, [esp + 0x4c]
call fcn.100039c0
lea ecx, [esp + 0x64]
mov dword [esp + 0xac], 0xffffffff
call fcn.100039c0
jmp 0x100213f3
mov eax, dword [ebx]
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.10001260
mov eax, dword [esp + 0x14]
push ebx
lea edi, [eax + esi*2]
mov eax, dword [ebx]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.10001260
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x27]
call fcn.10004530
mov ebx, dword [ebp + 8]
push eax
mov ecx, ebx
call fcn.10004540
push 0
push 0
mov ecx, ebx
call fcn.100048a0
push dword [esp + 0x28]
mov ecx, ebx
push edi
push esi
call fcn.10021b00
mov eax, ebx
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
call fcn.10003820
mov ecx, dword [esp + 0xa4]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc