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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
xor edx, edx
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebp - 4], ecx
mov eax, dword [esi + 8]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov ebx, dword [eax + 0x50]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], edx
test eax, eax
je 0x101d4d7e
push edx
push eax
push dword [ebp + 0x18]
push ecx
call fcn.1026acf0
mov edi, eax
jmp 0x101d4d80
mov edi, ecx
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x101d4db7
cmp word [ecx], 0x5b
jne 0x101d4db7
add ecx, 2
mov dword [esi + 0x18], ecx
call fcn.101ce322
lea ecx, [eax + 1]
mov eax, dword [esi + 8]
mov dword [eax + 0x2c], ecx
mov eax, dword [esi + 0x18]
movzx ecx, word [eax]
test cx, cx
je 0x101d4db7
add eax, 2
mov dword [esi + 0x18], eax
cmp ecx, 0x5d
jne 0x101d4da1
mov eax, dword [esi + 8]
test byte [eax + 0x58], 0x10
jne 0x101d4dcd
test dword [eax + 0x50], 0x200000
jne 0x101d4dcd
xor edx, edx
jmp 0x101d4dd0
xor edx, edx
inc edx
movzx ecx, word [eax + 0x54]
and dword [ebp - 0x18], 0
mov dword [ebp - 8], edx
test cx, cx
je 0x101d4df5
test edx, edx
je 0x101d4df5
movzx eax, word [eax + 0x28]
test ax, ax
jne 0x101d4df0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
jmp 0x101d4e36
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
test ebx, 0x1000
jne 0x101d4e0a
mov dword [ebp - 0xc], 1
test cx, cx
jne 0x101d4e36
test dword [eax + 0x50], 0x8000
je 0x101d4e36
xor ecx, ecx
cmp word [eax + 0x10], cx
jne 0x101d4e24
mov word [eax + 0x10], dx
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], 1
mov dword [eax + 0x64], ecx
mov dword [esi], ecx
mov edx, dword [ebp + 0x1c]
test edx, edx
jne 0x101d4e42
mov edx, 0x10058658
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x101d4e85
dec eax
imul eax, edi
push 0
add dword [ecx + 0x38], eax
pop eax
adc dword [ecx + 0x3c], eax
test bl, 0x40
jne 0x101d4e74
mov eax, dword [esi + 8]
push edx
mov eax, dword [eax + 0x2c]
dec eax
push eax
push 0x10098fd4
call fcn.100d3a8b
add esp, 0xc
mov eax, dword [esi + 8]
xor ecx, ecx
mov dword [ebp - 0x10], 1
mov dword [eax + 0x2c], ecx
jmp 0x101d4ed5
cmp dword [ebp - 0xc], 1
ja 0x101d4eaf
cmp dword [ebp - 8], 0
jne 0x101d4eaf
cmp dword [ebp - 0x18], 0
jne 0x101d4ed8
test bl, 0x40
jne 0x101d4ed8
push edx
push dword [ebp + 0x10]
push 0x10098fd4
call fcn.100d3a8b
add esp, 0xc
jmp 0x101d4ed8
test bl, 4
je 0x101d4eca
test bl, 0x40
jne 0x101d4eca
push edx
push dword [ebp + 0x10]
push 0x10098fe4
call fcn.100d3a8b
add esp, 0xc
mov eax, dword [esi + 8]
xor ecx, ecx
cmp word [eax + 0x54], cx
jne 0x101d4ed8
mov dword [ebp - 4], edi
mov edx, dword [esi + 8]
xor eax, eax
cmp dword [edx + 0x44], eax
je 0x101d4f56
mov edi, dword [edx + 0x48]
test edi, edi
je 0x101d4f56
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x10]
or eax, dword [ecx + 0x14]
je 0x101d4f56
cmp dword [ebp - 0x10], 0
je 0x101d4efe
test bl, bl
jns 0x101d4f56
push dword [edx + 0x50]
mov ecx, esi
call fcn.101dcacd
push edx
mov edx, dword [ebp - 4]
mov ecx, edi
push eax
call fcn.101ce3bc
test eax, eax
mov eax, dword [esi + 8]
jne 0x101d4f39
mov ecx, esi
mov dword [eax + 0x74], 1
call fcn.101dcacd
mov ecx, dword [esi + 8]
mov dword [ecx + 0x78], eax
xor eax, eax
mov dword [ecx + 0x7c], edx
jmp 0x101d52fc
mov ecx, dword [ebp - 4]
add dword [eax + 0x48], ecx
xor edx, edx
mov eax, dword [esi + 8]
mov dword [ebp - 0x24], 1
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0x28], ecx
mov dword [eax + 0x44], edx
jmp 0x101d4f58
xor edx, edx
cmp dword [ebp - 0x10], 0
mov eax, dword [esi + 8]
push 0x2a
pop ecx
mov edi, dword [eax + 0x90]
je 0x101d5082
test edi, edi
je 0x101d4fc2
mov eax, dword [esi + 0x18]
test eax, eax
je 0x101d4f7e
cmp word [eax], dx
jne 0x101d4fc2
cmp dword [esi + 0x10], 0xe
je 0x101d4f8a
cmp dword [esi + 0x10], 0xc
jne 0x101d4f96
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x101d4fc2
cmp word [eax], cx
jne 0x101d4fc2
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [edi + 0x20], eax
call fcn.101dcacd
mov dword [edi + 0x40], eax
mov ecx, esi
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp - 4]
mov dword [edi + 0x44], edx
mov dword [edi + 0x30], eax
call fcn.101dcacd
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], edx
mov edi, ebx
and edi, 0x1000
mov dword [ebp - 0x1c], edi
je 0x101d5010
mov eax, dword [esi + 8]
mov edi, dword [eax + 0x90]
test edi, edi
je 0x101d4ff7
mov eax, dword [esi + 0x18]
test eax, eax
je 0x101d4fea
xor ecx, ecx
cmp word [eax], cx
jne 0x101d4ff7
mov ecx, esi
call fcn.101dcacd
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], edx
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp - 0x1c]
mov dword [eax + 0x9c], ecx
mov eax, dword [esi + 8]
and dword [eax + 0x94], 0xfffffffd
test bl, bl
js 0x101d5108
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, ecx
or eax, edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
je 0x101d524f
cmp dword [ebp - 0x10], 0
jne 0x101d524f
test edi, edi
jne 0x101d5110
cmp dword [ebp - 0x18], edi
jne 0x101d5110
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.101d0dfa
test eax, eax
je 0x101d5110
cmp dword [ebp - 8], edi
jne 0x101d5116
test bl, 0x40
jne 0x101d5108
push 0x100597b0
call fcn.100d3a8b
jmp 0x101d5107
test edi, edi
je 0x101d50d6
mov eax, dword [esi + 0x18]
test eax, eax
je 0x101d5092
cmp word [eax], dx
jne 0x101d50d6
cmp dword [esi + 0x10], 0xe
je 0x101d509e
cmp dword [esi + 0x10], 0xc
jne 0x101d50aa
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x101d50d6
cmp word [eax], cx
jne 0x101d50d6
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [edi + 0x20], eax
call fcn.101dcacd
mov dword [edi + 0x40], eax
mov ecx, esi
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp - 4]
mov dword [edi + 0x44], edx
mov dword [edi + 0x30], eax
call fcn.101dcacd
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], edx
test bl, 0x10
je 0x101d4fc2
test ebx, 0x4000
je 0x101d5108
xor eax, eax
mov ecx, esi
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.101d0dfa
test eax, eax
jne 0x101d5108
push dword [ebp + 0x10]
push 0x10098a4c
call fcn.100d3a8b
pop ecx
pop ecx
mov eax, dword [ebp - 4]
jmp 0x101d52fc
cmp dword [ebp - 8], 0
je 0x101d5126
test bl, 0x40
jne 0x101d5126
push 0x100597b0
call fcn.100d3a8b
pop ecx
mov eax, ebx
and eax, 0x2000
xor edx, edx
mov dword [ebp - 0x2c], eax
test edi, edi
je 0x101d514e
mov eax, dword [esi + 8]
and dword [eax + 0x50], 0xffffefff
mov eax, dword [esi + 8]
or dword [eax + 0x50], 0x10
mov eax, dword [esi + 8]
inc word [eax + 0x54]
mov eax, dword [esi + 8]
cmp word [eax + 0x54], dx
je 0x101d51c4
cmp dword [ebp - 8], 0
je 0x101d51c4
test ebx, 0x2001
jne 0x101d51b0
mov edi, ebx
and edi, 0x40
jne 0x101d5179
push 2
xor ecx, ecx
pop edx
inc ecx
call fcn.100d335e
xor edx, edx
mov eax, dword [esi + 8]
mov ecx, edx
mov dword [ebp - 0x20], edx
movzx eax, word [eax + 0x54]
imul eax, eax, 3
test eax, eax
jle 0x101d51b0
test edi, edi
jne 0x101d519e
push 0x1005d9d0
call fcn.100d3a8b
pop ecx
mov ecx, dword [ebp - 0x20]
mov eax, dword [esi + 8]
inc ecx
mov dword [ebp - 0x20], ecx
movzx eax, word [eax + 0x54]
imul eax, eax, 3
cmp ecx, eax
jl 0x101d518c
test bl, 0x40
jne 0x101d51c4
push dword [ebp - 0x14]
push 0x10098a64
call fcn.100d3a8b
pop ecx
pop ecx
push dword [ebp + 0xc]
mov ecx, esi
call fcn.101d614d
cmp dword [ebp - 0x2c], 0
mov edi, eax
mov dword [ebp - 0x20], edi
je 0x101d5205
test bl, 0x10
je 0x101d5205
test bl, 0x40
jne 0x101d5205
cmp edi, 8
ja 0x101d51f3
test byte [ebp - 0x14], 3
mov eax, 0x1005d9d0
jne 0x101d51f8
mov eax, 0x100597b0
push eax
push 0x1005a41c
call fcn.100d3a8b
pop ecx
pop ecx
test edi, edi
je 0x101d5108
cmp dword [ebp - 0x1c], 0
je 0x101d521f
mov eax, dword [esi + 8]
mov ecx, 0xffff
add word [eax + 0x54], cx
mov eax, dword [esi + 0xc]
push 0
pop edx
add dword [eax + 0x10], edi
mov edi, dword [ebp - 0x1c]
adc dword [eax + 0x14], edx
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0xc]
jb 0x101d5132
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x14], ecx
jmp 0x101d525e
push dword [ebp + 0xc]
mov ecx, esi
call fcn.101d614d
mov dword [ebp - 0x20], eax
xor edx, edx
cmp dword [ebp - 0x24], 0
je 0x101d5277
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x48], ecx
mov eax, dword [esi + 8]
mov dword [eax + 0x44], 1
mov edi, dword [esi + 8]
shr ebx, 8
and ebx, 0xf
inc ebx
movzx eax, word [edi + 0x54]
cmp eax, ebx
jne 0x101d52ee
cmp dword [ebp - 0x10], 0
jne 0x101d52ee
mov edi, dword [edi + 0x90]
test edi, edi
je 0x101d52ee
mov eax, dword [esi + 0x18]
test eax, eax
je 0x101d52a5
cmp word [eax], dx
jne 0x101d52ee
cmp dword [esi + 0x10], 0xe
je 0x101d52b1
cmp dword [esi + 0x10], 0xc
jne 0x101d52c0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x101d52ee
push 0x2a
pop ecx
cmp word [eax], cx
jne 0x101d52ee
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [edi + 0x20], eax
call fcn.101dcacd
mov ebx, dword [ebp - 4]
mov ecx, esi
mov dword [edi + 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x44], edx
mov dword [edi + 0x5c], eax
mov dword [edi + 0x30], ebx
call fcn.101dcacd
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], edx
jmp 0x101d52f1
mov ebx, dword [ebp - 4]
cmp dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x20]
jne 0x101d52fc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18