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

Disassembly:
push 0xffffffffffffffff
push 0x1018bf08
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 8]
mov dword [esp + 0x28], eax
add eax, 4
xor edi, edi
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], 0x10199614
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x28]
lea ebx, [esi + 0x24]
mov esi, dword [eax]
mov dword [esp + 0x60], edi
mov edi, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], eax
test edi, edi
je 0x100d4dde
cmp edi, ebx
je 0x100d4de3
call fcn.1015988d
cmp esi, dword [esp + 0x30]
je 0x100d4fb7
test edi, edi
jne 0x100d4df6
call fcn.1015988d
cmp esi, dword [edi + 4]
jne 0x100d4e00
call fcn.1015988d
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x30]
call fcn.10058470
mov ecx, dword [esp + 0x68]
mov ebp, eax
xor edx, edx
sub ebp, ecx
jmp 0x100d4e20
mov al, byte [ecx + ebp]
cmp al, byte [ecx]
jne 0x100d4fdc
add edx, 1
add ecx, 1
cmp edx, 0x14
jb 0x100d4e20
cmp esi, dword [edi + 4]
jne 0x100d4e40
call fcn.1015988d
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x30]
call fcn.100d7e30
mov ecx, dword [esp + 0x6c]
push 0xffffffffffffffff
push 0
push eax
mov byte [esp + 0x6c], 1
call fcn.10005470
mov ebx, 0x10
cmp dword [esp + 0x54], ebx
mov byte [esp + 0x60], 0
jb 0x100d4e7d
mov edx, dword [esp + 0x40]
push edx
call fcn.10159534
add esp, 4
cmp esi, dword [edi + 4]
jne 0x100d4e87
call fcn.1015988d
lea eax, [esp + 0x2c]
push eax
lea ecx, [esi + 0x30]
call fcn.100d7a90
mov edx, dword [eax]
mov ecx, dword [esp + 0x70]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
cmp esi, dword [edi + 4]
jne 0x100d4eb8
call fcn.1015988d
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x30]
call fcn.10058770
mov ecx, dword [esp + 0x74]
push 0xffffffffffffffff
push 0
push eax
mov byte [esp + 0x6c], 2
call fcn.10005470
cmp dword [esp + 0x54], ebx
mov byte [esp + 0x60], 0
jb 0x100d4ef0
mov edx, dword [esp + 0x40]
push edx
call fcn.10159534
add esp, 4
cmp esi, dword [edi + 4]
jne 0x100d4efa
call fcn.1015988d
lea ebx, [esi + 0x30]
mov ecx, ebx
call fcn.100d7a80
mov ecx, dword [esp + 0x78]
mov dword [ecx], eax
mov dword [ecx + 4], edx
cmp esi, dword [edi + 4]
jne 0x100d4f17
call fcn.1015988d
mov ecx, ebx
call fcn.100d7b00
mov ecx, dword [esp + 0x7c]
mov dword [ecx], eax
mov dword [ecx + 4], edx
cmp esi, dword [edi + 4]
jne 0x100d4f31
call fcn.1015988d
mov ecx, ebx
call fcn.100d7b60
mov ecx, dword [esp + 0x80]
mov dword [ecx], eax
cmp esi, dword [edi + 4]
jne 0x100d4f4b
call fcn.1015988d
mov ecx, ebx
call fcn.100d7b70
mov edx, dword [esp + 0x84]
mov dword [edx], eax
cmp esi, dword [edi + 4]
jne 0x100d4f65
call fcn.1015988d
mov ecx, ebx
call fcn.10058550
mov ecx, dword [esp + 0x88]
mov dword [ecx], eax
mov dword [ecx + 4], edx
cmp esi, dword [edi + 4]
jne 0x100d4f82
call fcn.1015988d
mov ecx, ebx
call fcn.100d7b80
mov ecx, dword [esp + 0x8c]
mov dword [ecx], eax
mov dword [ecx + 4], edx
cmp esi, dword [edi + 4]
jne 0x100d4f9f
call fcn.1015988d
mov ecx, ebx
call fcn.100d7bb0
mov ecx, dword [esp + 0x90]
mov dword [ecx], eax
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x2c
lea ecx, [esp + 0x1c]
call fcn.100a5730
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x100d4dd6