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

Disassembly:
push 0xffffffffffffffff
push 0x1003b91f
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x10047330]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10047330]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
xor ebx, ebx
push 0x1004a598
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc4], 0x1004a598
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x150], ebx
mov eax, dword [0x1004aa5c]
mov ecx, dword [eax + 4]
push ecx
mov ecx, 0x1004aa44
call fcn.1000d5c0
mov eax, dword [0x1004aa5c]
mov dword [eax + 4], eax
mov eax, dword [0x1004aa5c]
mov dword [0x1004aa60], ebx
mov dword [eax], eax
mov eax, dword [0x1004aa5c]
push 0xc
mov esi, 0xf
push str.cachedRptCfg
lea ecx, [esp + 0x90]
mov dword [eax + 8], eax
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
call fcn.10001b00
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x154], 1
call fcn.10004500
add esp, 4
mov byte [esp + 0x150], 3
cmp dword [esp + 0xa0], 0x10
jb 0x1000be1c
mov eax, dword [esp + 0x8c]
push eax
call fcn.100236cc
add esp, 4
cmp byte [esp + 0xcc], 7
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
jne 0x1000c372
push str.dropRecords
lea ecx, [esp + 0xc8]
push ecx
mov ecx, 0x1003ef3b
call fcn.100157a9
cmp byte [eax + 8], 7
jne 0x1000c372
push str.dropRecords
lea edx, [esp + 0xc8]
push edx
mov ecx, 0x1003ef3b
call fcn.100157a9
push eax
lea ebx, [esp + 0xa8]
call fcn.1001494f
mov byte [esp + 0x150], 4
push 0xb
xor ebx, ebx
mov esi, 0xf
push str.dropClients
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.10001b00
sub esp, 0x1c
mov byte [esp + 0x16c], 5
mov ecx, esp
mov dword [esp + 0x3c], esp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x1003ea16
mov byte [ecx + 4], bl
call fcn.10001b00
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0x84]
lea edi, [esp + 0xc4]
call fcn.1000b850
add esp, 0x20
mov ebp, 0x10
mov byte [esp + 0x150], 7
cmp dword [esp + 0x7c], ebp
jb 0x1000bf18
mov ecx, dword [esp + 0x68]
push ecx
call fcn.100236cc
add esp, 4
mov ecx, 0x1003ea14
lea edi, [esp + 0x128]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.1000abe0
test al, al
jne 0x1000bf77
lea edx, [esp + 0x40]
push edx
call fcn.1002195c
mov ecx, dword [eax + 0x14]
add esp, 4
mov dword [esp + 0x1c], 1
cmp dword [eax + 0x18], ebp
jb 0x1000bf5b
mov eax, dword [eax + 4]
jmp 0x1000bf5e
add eax, 4
push ecx
push eax
lea eax, [esp + 0x130]
push eax
call fcn.1000cf10
mov byte [esp + 0x1b], 1
cmp eax, 0xffffffff
je 0x1000bf7b
mov byte [esp + 0x1b], bl
test byte [esp + 0x1c], 1
je 0x1000bf95
cmp dword [esp + 0x58], ebp
jb 0x1000bf95
mov ecx, dword [esp + 0x44]
push ecx
call fcn.100236cc
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x1000bfe2
cmp dword [esp + 0x140], ebp
jb 0x1000bfb4
mov edx, dword [esp + 0x12c]
push edx
call fcn.100236cc
add esp, 4
mov dword [esp + 0x140], esi
lea esi, [esp + 0xa4]
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
mov byte [esp + 0x150], 3
call fcn.10014ae3
jmp 0x1000c385
lea ebx, [esp + 0x28]
lea ecx, [esp + 0xa4]
call fcn.10015c07
mov byte [esp + 0x150], 8
mov esi, dword [esp + 0x34]
cmp esi, dword [esp + 0x38]
jbe 0x1000c009
call fcn.10023692
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x5c], ebx
lea edi, [esi + 4]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x34], ebp
jbe 0x1000c027
call fcn.10023692
test ebx, ebx
je 0x1000c031
cmp ebx, dword [esp + 0x28]
je 0x1000c036
call fcn.10023692
lea esi, [edi - 4]
cmp esi, ebp
je 0x1000c2e7
test ebx, ebx
jne 0x1000c062
call fcn.10023692
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x1000c056
call fcn.10023692
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x1000c066
mov edx, dword [edi]
jmp 0x1000c068
mov eax, dword [ebx]
jmp 0x1000c04c
mov edx, edi
mov ecx, dword [edi + 0x10]
cmp eax, 0x10
jb 0x1000c074
mov eax, dword [edi]
jmp 0x1000c076
mov eax, edi
push eax
lea eax, [esp + 0xa8]
add ecx, edx
push eax
call fcn.100157a9
push eax
lea ebx, [esp + 0x68]
call fcn.1001494f
xor ebx, ebx
mov byte [esp + 0x150], 9
push ebx
mov esi, 0xf
push 0x1003ea16
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.10001b00
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x44]
lea edx, [esp + 0x68]
mov byte [esp + 0x154], 0xa
call fcn.1000ba10
add esp, 4
mov byte [esp + 0x150], 0xc
cmp dword [esp + 0x58], 0x10
jb 0x1000c0f6
mov edx, dword [esp + 0x44]
push edx
call fcn.100236cc
add esp, 4
lea eax, [esp + 0x100]
push eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], 0
call fcn.1000cfe0
mov byte [esp + 0x150], 0xd
mov ecx, dword [esp + 0xf8]
mov ebp, dword [ecx]
mov esi, dword [esp + 0xe0]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], esi
mov ebx, dword [esp + 0xf8]
test esi, esi
je 0x1000c144
cmp esi, dword [esp + 0xe0]
je 0x1000c149
call fcn.10023692
cmp ebp, ebx
je 0x1000c1f6
test esi, esi
jne 0x1000c1eb
call fcn.10023692
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x1000c16a
call fcn.10023692
lea edi, [ebp + 0xc]
lea edx, [edi + 0x1c]
push edx
lea ecx, [esp + 0x44]
call fcn.10003170
add esp, 4
mov ebx, eax
mov byte [esp + 0x150], 0xe
test esi, esi
jne 0x1000c1f2
call fcn.10023692
cmp ebp, dword [esi + 0x18]
jne 0x1000c19a
call fcn.10023692
mov ecx, edi
lea edx, [esp + 0x100]
call fcn.1000cbc0
push 0xffffffffffffffff
mov ecx, eax
push 0
mov eax, ebx
call fcn.10007c90
mov byte [esp + 0x150], 0xd
cmp dword [esp + 0x58], 8
jb 0x1000c1d1
mov eax, dword [esp + 0x44]
push eax
call fcn.100236cc
add esp, 4
lea esi, [esp + 0x20]
call fcn.1000fa40
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x1000c130
mov eax, dword [esi]
jmp 0x1000c160
mov esi, dword [esi]
jmp 0x1000c190
cmp dword [esp + 0x11c], 0
mov ebp, dword [esp + 0x5c]
je 0x1000c25d
test ebp, ebp
jne 0x1000c2da
call fcn.10023692
xor eax, eax
lea ecx, [edi - 4]
cmp ecx, dword [eax + 0x10]
jb 0x1000c220
call fcn.10023692
lea ecx, [edi - 4]
call fcn.1000ca40
mov esi, eax
lea ecx, [esp + 0x100]
cmp esi, ecx
je 0x1000c25d
mov eax, dword [esi + 0x18]
mov ecx, dword [esi]
mov edx, dword [eax]
push eax
push ecx
push edx
push ecx
lea edx, [esp + 0x130]
push edx
mov eax, esi
call fcn.1000d870
lea ebx, [esp + 0x100]
mov eax, esi
call fcn.1000d950
lea esi, [esp + 0x100]
mov byte [esp + 0x150], 0xf
call fcn.1000d9c0
mov eax, dword [esp + 0x100]
push eax
call fcn.100236cc
add esp, 4
lea esi, [esp + 0xe0]
mov byte [esp + 0x150], 0x10
call fcn.1000d2f0
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.100236cc
add esp, 4
lea esi, [esp + 0x64]
mov byte [esp + 0x150], 8
call fcn.10014ae3
test ebp, ebp
jne 0x1000c2e2
call fcn.10023692
xor eax, eax
lea ecx, [edi - 4]
cmp ecx, dword [eax + 0x10]
jb 0x1000c2ce
call fcn.10023692
mov ebx, dword [esp + 0x5c]
add edi, 0x1c
jmp 0x1000c014
mov eax, dword [ebp]
jmp 0x1000c213
mov eax, dword [ebp]
jmp 0x1000c2c1
mov eax, dword [esp + 0x34]
xor esi, esi
cmp eax, esi
je 0x1000c30f
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
push edx
call fcn.10002fb0
mov eax, dword [esp + 0x38]
add esp, 4
push eax
call fcn.100236cc
add esp, 4
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call fcn.100236cc
add esp, 4
cmp dword [esp + 0x140], 0x10
jb 0x1000c342
mov edx, dword [esp + 0x12c]
push edx
call fcn.100236cc
add esp, 4
mov dword [esp + 0x13c], esi
lea esi, [esp + 0xa4]
mov dword [esp + 0x140], 0xf
mov byte [esp + 0x12c], 0
mov byte [esp + 0x150], 3
call fcn.10014ae3
xor ebx, ebx
mov eax, dword [0x1004aa60]
push eax
push str._d_drop_filters_loaded
call fcn.10020dc1
add esp, 8
lea esi, [esp + 0xc4]
mov byte [esp + 0x150], bl
call fcn.10014ae3
push 0x1004a598
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.1002333a
add esp, 0x140
ret