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

Disassembly:
sub esp, 0xa4
push ebx
mov ebx, dword [ecx]
push ebp
push esi
mov dword [esp + 0x18], ecx
mov ecx, dword [ecx + 0x1c]
xor esi, esi
push edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x34], esi
call fcn.100d91c0
cmp eax, esi
jne 0x100d4cc3
mov eax, dword [ebx + 0x24]
xor edi, edi
cmp eax, edi
jne 0x100d4cc1
mov ecx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x30]
mov ebp, ecx
mov esi, eax
add eax, 1
push ebp
push esi
push edi
adc ecx, edi
mov dword [ebx + 0x30], eax
push edi
mov dword [ebx + 0x34], ecx
push edi
lea edx, [esp + 0x34]
push edi
mov ecx, ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ebp
call fcn.100d4d70
mov ecx, dword [ebx + 0x70]
cmp eax, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
jne 0x100d47e8
cmp dword [esp + 0x20], edi
jne 0x100d47e8
mov edx, dword [esp + 0x1c]
mov ebp, dword [ebx + 0x64]
mov eax, dword [ebx + 0x60]
mov dword [esp + 0x24], edi
mov esi, dword [edx + 8]
sub ebp, eax
mov dword [esp + 0x4c], esi
cmp esi, edi
jne 0x100d447f
mov edx, dword [ebx]
mov ecx, dword [ebx + 0x14]
add edx, 0x10
call dword [ecx]
mov esi, eax
cmp esi, edi
mov dword [esp + 0x4c], esi
je 0x100d4684
mov eax, dword [esp + 0x24]
mov dword [esi], edi
cmp eax, edi
je 0x100d4478
mov dword [eax], esi
jmp 0x100d447f
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], esi
lea eax, [esi + 0x10]
cmp ebp, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
je 0x100d44b3
mov ecx, dword [ebx + 0x5c]
mov edx, dword [ebx + 0x60]
mov eax, ebp
mov dword [esp + 0x14], ebp
lea ecx, [ecx + edx + 0x10]
mov dword [esp + 0x18], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ecx
jmp 0x100d459e
mov edx, dword [ebx]
mov ecx, dword [ebx + 0xc]
lea eax, [esp + 0x38]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x2c]
push eax
call fcn.100c6dd0
xor ecx, ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
add edx, eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x18]
adc edx, ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x24]
cmp edx, edi
jne 0x100d44f4
mov dword [esp + 0x48], eax
mov edx, dword [ebx + 0x68]
add edx, eax
mov dword [ebx + 0x68], edx
mov edx, dword [ebx + 0x6c]
adc edx, ecx
xor ecx, ecx
mov dword [ebx + 0x6c], edx
mov edx, dword [ebx]
cmp eax, edx
mov edx, 1
setne cl
cmp ecx, edi
mov dword [esp + 0x10], ecx
je 0x100d451d
mov dword [ebx + 0x70], edx
mov ecx, dword [esp + 0x28]
cmp ecx, edi
je 0x100d4533
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x70], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
sub ecx, edx
mov edx, dword [esp + 0x18]
sbb edx, edi
mov dword [esp + 0xb0], edx
jne 0x100d4555
cmp ecx, 1
jb 0x100d459c
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push eax
xor edi, edi
push ecx
push edi
push edi
push edi
lea edx, [esp + 0x34]
push edi
mov ecx, ebx
call fcn.100d4d70
cmp eax, edi
mov dword [esp + 0x28], eax
jne 0x100d47e8
cmp dword [esp + 0x20], edi
jne 0x100d47c9
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x40], edx
jmp 0x100d459e
xor edi, edi
mov edx, dword [esp + 0x24]
xor ecx, ecx
cmp edx, edi
mov edx, dword [esp + 0x30]
sete cl
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x98], eax
mov eax, dword [ebx + 0x18]
mov edx, dword [edx + 4]
push ecx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0xa4], 1
call dword [eax]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0xa0]
cmp edx, 1
mov dword [esp + 0x84], 1
mov dword [esp + 0x34], eax
je 0x100d4696
mov eax, dword [esp + 0x94]
cmp ebp, edi
je 0x100d464d
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x9c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x60]
mov esi, dword [esp + 0x4c]
add ecx, eax
xor edi, edi
mov dword [ebx + 0x60], ecx
cmp edx, edi
jne 0x100d46de
cmp dword [esp + 0x10], edi
jne 0x100d46eb
cmp eax, dword [esp + 0x38]
jne 0x100d46d1
mov dword [esp + 0x24], esi
mov esi, dword [esi]
cmp ebp, edi
mov dword [esp + 0x4c], esi
je 0x100d444e
xor ebp, ebp
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], edi
jmp 0x100d444e
mov eax, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x7c], eax
jmp 0x100d47c9
mov eax, 1
cmp ebp, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x88], eax
je 0x100d46c6
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], edi
jmp 0x100d47c9
mov dword [esp + 0x28], 0xb
jmp 0x100d47e8
cmp edx, 3
jne 0x100d46eb
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x38]
mov esi, 1
cmp eax, ecx
mov dword [esp + 0x3c], esi
jne 0x100d4707
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], edi
jmp 0x100d47c9
cmp edx, 3
jne 0x100d474d
mov edx, dword [esp + 0x30]
sub ecx, eax
add edx, eax
cmp ebp, edi
mov dword [esp + 0x80], edx
mov dword [esp + 0x70], ecx
je 0x100d4727
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub esi, ecx
mov ecx, dword [esp + 0x24]
sbb edx, edi
cmp ecx, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
jne 0x100d47c9
mov dword [esp + 0x48], eax
jmp 0x100d47c9
cmp ebp, edi
je 0x100d475b
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
jmp 0x100d47bb
mov ecx, ebx
call fcn.100d3e80
cmp eax, edi
jne 0x100d4770
mov dword [esp + 0x10], esi
mov dword [esp + 0x7c], esi
jmp 0x100d47c9
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x94]
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
sub ecx, edx
mov esi, 0
sub ebp, ecx
mov dword [ebx + 0x64], ecx
sbb edi, esi
mov dword [ebx + 0x60], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x18], edi
mov edi, eax
mov eax, ecx
add esi, edx
mov dword [esp + 0x14], ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x94]
xor edi, edi
cmp dword [esp + 0x24], edi
jne 0x100d47c5
mov dword [esp + 0x48], eax
mov dword [esp + 0x10], edi
cmp dword [esp + 0x28], edi
jne 0x100d47e8
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
lea edx, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.100d4d10
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], edi
cmp eax, edi
jne 0x100d482a
cmp dword [esp + 0x3c], edi
je 0x100d4824
cmp dword [esp + 0x20], edi
jne 0x100d482a
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x18]
mov edx, dword [ecx + 4]
mov ecx, dword [ebx + 0x1c]
call dword [eax + 4]
cmp eax, edi
mov dword [esp + 0x24], eax
je 0x100d4824
mov dword [esp + 0x3c], edi
mov dword [esp + 0x10], 1
cmp dword [esp + 0x20], edi
je 0x100d4832
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], edi
cmp eax, edi
mov dword [esp + 0x4c], edi
jne 0x100d48ae
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x54]
cmp eax, ecx
jae 0x100d4880
cmp dword [esp + 0x34], edi
je 0x100d4880
lea edx, [eax + eax*4 + 0x19]
lea ecx, [ebx + edx*8]
call fcn.100d4cd0
cmp eax, edi
jne 0x100d4867
inc dword [ebx + 0x58]
jmp 0x100d4880
mov ecx, dword [ebx + 0x58]
cmp ecx, 1
jne 0x100d487d
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x4c], eax
jmp 0x100d48ae
mov dword [ebx + 0x54], ecx
mov eax, dword [esp + 0x1c]
mov ebp, dword [ebx + 0x58]
mov ecx, dword [eax + 4]
inc ecx
cmp ecx, ebp
sbb eax, eax
and eax, ecx
add eax, 5
lea ecx, [eax + eax*4]
lea eax, [ebx + ecx*8]
mov dword [esp + 0x30], eax
lea ecx, [eax + 0x1c]
call fcn.100d92e0
cmp eax, edi
jne 0x100d4cc3
mov eax, dword [esp + 0x28]
xor edx, edx
xor ebp, ebp
cmp eax, edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
jne 0x100d4a4e
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x100d4a4e
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x100d4a4e
mov ecx, dword [esp + 0x1c]
mov eax, 1
mov ecx, dword [ecx + 8]
mov dword [esp + 0x2c], ecx
test eax, eax
je 0x100d4910
mov esi, dword [esp + 0x48]
jmp 0x100d492c
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [ebx]
sub ecx, edx
sbb eax, ebp
xor edi, edi
cmp edi, eax
jb 0x100d492c
ja 0x100d492a
cmp esi, ecx
jbe 0x100d492c
mov esi, ecx
mov ecx, dword [esp + 0x14]
add edx, esi
adc ebp, 0
mov eax, 1
cmp edx, ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x34], eax
jne 0x100d4950
cmp ebp, dword [esp + 0x18]
je 0x100d4952
xor eax, eax
lea edx, [esp + 0x34]
mov edi, dword [ebx + 0x18]
push edx
lea ecx, [esp + 0x64]
lea edx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
mov ecx, dword [ebx + 0x1c]
add eax, 0x10
push esi
push eax
call dword [edi + 8]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x100d4a3d
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x100d4a4e
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x54]
cmp edx, eax
jne 0x100d49ad
cmp ebp, dword [esp + 0x18]
je 0x100d4a4e
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov ecx, edx
mov eax, ebp
sub ecx, edi
mov edi, dword [esp + 0x74]
sbb eax, esi
mov esi, dword [esp + 0x60]
sub esi, edi
mov edi, dword [esp + 0x64]
sbb edi, dword [esp + 0x78]
test eax, eax
ja 0x100d49e3
jb 0x100d49da
cmp ecx, 1
jae 0x100d49e3
test edi, edi
ja 0x100d49e3
cmp esi, 1
jb 0x100d4a2c
mov ebp, dword [esp + 0x5c]
lea edx, [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x5c]
push ebp
push edi
push esi
push eax
push ecx
mov ecx, ebx
call fcn.100d4d70
test eax, eax
mov dword [esp + 0x28], eax
jne 0x100d4a4e
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x100d4a4e
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
xor eax, eax
mov dword [esp + 0x2c], ecx
jmp 0x100d4906
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push edx
push eax
mov ecx, ebx
call fcn.100d4e60
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x20]
call fcn.100d91c0
xor ebp, ebp
cmp eax, ebp
jne 0x100d4cc3
mov eax, dword [ebx + 0x24]
mov edi, dword [esp + 0x84]
mov ecx, 1
cmp eax, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ecx
jne 0x100d4cc1
cmp dword [ebx + 0x50], ebp
je 0x100d4a8e
mov dword [esp + 0x20], ecx
jmp 0x100d4ad4
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x100d4aa3
mov dword [ebx + 0x4c], eax
cmp eax, 2
mov dword [ebx + 0x50], ecx
mov eax, ecx
je 0x100d4aa7
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x4c]
cmp edx, ebp
je 0x100d4ab7
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x40], edx
xor edi, edi
cmp eax, ebp
je 0x100d4ac3
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x38], ecx
xor edi, edi
cmp dword [esp + 0x88], ebp
je 0x100d4ad4
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x3c], ecx
xor edi, edi
cmp dword [esp + 0x3c], ebp
je 0x100d4b37
cmp dword [esp + 0x20], ebp
je 0x100d4afa
xor ecx, ecx
xor eax, eax
xor esi, esi
xor edx, edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edx
jmp 0x100d4b0a
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov ebp, dword [esp + 0x40]
sub ecx, ebp
mov ebp, dword [esp + 0x44]
sbb eax, ebp
mov ebp, dword [esp + 0x74]
sub esi, ebp
mov ebp, dword [esp + 0x78]
sbb edx, ebp
push edx
push esi
push eax
push ecx
lea ecx, [ebx + 0x98]
call fcn.100d3d80
mov esi, eax
xor ebp, ebp
jmp 0x100d4b3b
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x84]
xor edx, edx
cmp ecx, ebp
sete dl
cmp eax, ebp
mov dword [esp + 0x68], edx
je 0x100d4bca
cmp esi, ebp
jne 0x100d4b6a
cmp edi, ebp
je 0x100d4b6a
cmp dword [esp + 0x20], ebp
jne 0x100d4b6a
mov eax, 1
jmp 0x100d4b6c
xor eax, eax
lea ecx, [esp + 0x34]
mov esi, dword [ebx + 0x18]
lea edx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [ebx + 0x1c]
push eax
mov edx, dword [edx + 4]
call dword [esi + 0xc]
mov esi, eax
cmp esi, ebp
je 0x100d4bad
mov eax, 1
mov dword [esp + 0x2c], eax
mov dword [ebx + 0x50], eax
jmp 0x100d4bb9
cmp dword [esp + 0x68], ebp
jne 0x100d4bca
cmp dword [esp + 0x10], ebp
jne 0x100d4bca
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push eax
push ecx
mov ecx, ebx
call fcn.100d4e60
cmp dword [esp + 0x34], ebp
je 0x100d4c3d
cmp dword [esp + 0x3c], ebp
je 0x100d4bf9
cmp esi, ebp
jne 0x100d4bf9
cmp dword [ebx + 0x50], ebp
jne 0x100d4bf9
cmp dword [esp + 0x24], ebp
jne 0x100d4bf9
cmp dword [esp + 0x20], ebp
jne 0x100d4bf9
cmp dword [ebx + 0x84], ebp
jne 0x100d4c10
cmp dword [esp + 0x2c], ebp
je 0x100d4c3d
cmp dword [ebx + 0x84], ebp
jne 0x100d4c10
mov esi, dword [esp + 0x1c]
mov edx, dword [esi + 4]
mov dword [ebx + 0x80], edx
jmp 0x100d4c14
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, eax
or edx, ecx
jne 0x100d4c28
cmp dword [esp + 0x10], ebp
jne 0x100d4c59
mov edx, dword [esp + 0x48]
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], ecx
inc dword [ebx + 0x84]
jmp 0x100d4c41
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x10], ebp
jne 0x100d4c59
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0x20]
call fcn.100d92e0
cmp eax, ebp
jne 0x100d4cc3
jmp 0x100d4c8b
cmp dword [esp + 0x68], ebp
je 0x100d4c70
lea ecx, [ebx + 0xe8]
call fcn.100d92e0
cmp eax, ebp
jne 0x100d4cc3
jmp 0x100d4c7c
cmp dword [esi + 4], ebp
je 0x100d4cc1
mov dword [ebx + 0x24], 1
lea ecx, [ebx + 0xe4]
call fcn.100d92e0
cmp eax, ebp
jne 0x100d4cc3
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x34], ebp
call fcn.100d91c0
cmp eax, ebp
je 0x100d43bd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret