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

Disassembly:
push 0xffffffffffffffff
push 0x101638d1
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b734c]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa4]
mov eax, dword [esp + 0xb8]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov edi, 0xf
mov dword [esp + 0x2c], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0x98], 1
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0xb0]
push ecx
push edx
push eax
push ebp
lea eax, [esp + 0x40]
lea ecx, [esp + 0x3c]
mov dword [ebp + 0x23d4], ebx
call fcn.10047690
add esp, 0x18
test eax, eax
jne 0x1004ae89
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x38]
push ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10009b80
jmp 0x1004b2ee
push 0x1772
call fcn.100ffe35
push 0x1772
mov dword [esp + 0x1c], eax
call fcn.100ffe35
add esp, 8
cmp dword [esp + 0x14], ebx
mov edi, eax
mov dword [esp + 0x18], edi
je 0x1004b2c4
cmp edi, ebx
mov eax, dword [esp + 0x14]
je 0x1004b2c1
push 0x1772
push ebx
push eax
call fcn.10100e30
push 0x1772
push ebx
push edi
call fcn.10100e30
xor edi, edi
add esp, 0x18
cmp dword [ebp + 0x23d4], ebx
mov dword [esp + 0x1c], edi
jle 0x1004b253
lea ecx, [ecx]
movzx esi, word [ebp + edi*8 + 0x3d6]
xor eax, eax
add esi, dword [esp + 0x28]
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov dword [esp + 0x59], eax
mov dword [esp + 0x5d], eax
mov dword [esp + 0x61], eax
mov dword [esp + 0x65], eax
mov word [esp + 0x69], ax
mov byte [esp + 0x6b], al
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov word [esp + 0x89], ax
mov byte [esp + 0x8b], al
movzx eax, word [ebp + edi*8 + 0x3d4]
add eax, dword [esp + 0x24]
lea ecx, [esp + 0x4c]
push eax
push 0x1016b6c8
push ecx
mov byte [esp + 0x58], bl
mov byte [esp + 0x78], bl
call fcn.10101c10
push esi
lea edx, [esp + 0x7c]
push 0x1016b6c8
push edx
call fcn.10101c10
add esp, 0x18
cmp edi, ebx
jne 0x1004afc9
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x4c]
mov ecx, eax
sub edx, ecx
jmp 0x1004afa0
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x1004afa0
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x6c]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x1004afb8
jmp 0x1004b240
movzx edx, word [ebp + edi*8 + 0x3d2]
movzx eax, word [ebp + edi*8 + 0x3ce]
mov ecx, dword [ebp + 0x80]
add eax, edx
movzx edx, word [ebp + edi*8 + 0x3d6]
lea esi, [ecx + eax]
cmp edx, esi
jge 0x1004b0b3
movzx ecx, word [ebp + edi*8 + 0x3d0]
movzx edx, word [ebp + edi*8 + 0x3cc]
movzx eax, word [ebp + edi*8 + 0x3d4]
add ecx, edx
add ecx, dword [ebp + 0x3d0]
cmp eax, ecx
jle 0x1004b240
mov edi, dword [esp + 0x14]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1004b023
mov cx, word [0x1016b5e4]
lea eax, [esp + 0x4c]
mov word [edi], cx
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x1004b040
mov edi, dword [esp + 0x14]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x1004b054
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1004b073
mov dx, word [0x1016b5e4]
lea eax, [esp + 0x6c]
mov word [edi], dx
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x1004b090
mov edi, dword [esp + 0x18]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x1004b0a4
jmp 0x1004b22e
mov esi, dword [ebp + 0x3cc]
add esi, ecx
add esi, eax
cmp edx, esi
jle 0x1004b163
mov edi, dword [esp + 0x14]
add edi, 0xffffffff
lea esp, [esp]
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1004b0d0
mov ax, word [0x1016b5e4]
mov word [edi], ax
lea eax, [esp + 0x4c]
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x1004b0f0
mov edi, dword [esp + 0x14]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x1004b104
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1004b123
mov cx, word [0x1016b5e4]
lea eax, [esp + 0x6c]
mov word [edi], cx
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x1004b140
mov edi, dword [esp + 0x18]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x1004b154
jmp 0x1004b22e
movzx edx, word [ebp + edi*8 + 0x3d0]
movzx eax, word [ebp + edi*8 + 0x3d4]
movzx ecx, word [ebp + edi*8 + 0x3cc]
sub eax, edx
sub eax, ecx
sub eax, dword [esp + 0x24]
add eax, dword [esp + 0xb0]
cmp eax, dword [ebp + 0x3d0]
jle 0x1004b240
mov edi, dword [esp + 0x14]
add edi, 0xffffffff
lea ecx, [ecx]
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1004b1a0
mov dx, word [0x1016b5e4]
lea eax, [esp + 0x4c]
mov word [edi], dx
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x1004b1c0
mov edi, dword [esp + 0x14]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x1004b1d4
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1004b1f3
mov ax, word [0x1016b5e4]
mov word [edi], ax
lea eax, [esp + 0x6c]
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x1004b210
mov edi, dword [esp + 0x18]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x1004b224
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1c]
add edi, 1
cmp edi, dword [ebp + 0x23d4]
mov dword [esp + 0x1c], edi
jl 0x1004aef0
mov edi, dword [esp + 0x14]
cmp byte [edi], bl
je 0x1004b2a8
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1004b260
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x38]
call fcn.10009ca0
push 1
push 0x1016b58c
lea ecx, [esp + 0x38]
call fcn.10009ca0
mov esi, dword [esp + 0x18]
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1004b290
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x38]
call fcn.10009ca0
jmp 0x1004b2ac
mov esi, dword [esp + 0x18]
push edi
call fcn.100ffef8
push esi
call fcn.100ffef8
mov esi, dword [esp + 0x34]
add esp, 8
jmp 0x1004b2d1
push eax
jmp 0x1004b2c9
cmp edi, ebx
je 0x1004b2d1
push edi
call fcn.100ffef8
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x38]
mov edi, 0xf
push ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10009b80
mov dword [esp + 0x20], 1
mov byte [esp + 0x98], bl
cmp dword [esp + 0x48], 0x10
jb 0x1004b311
mov edx, dword [esp + 0x34]
push edx
call fcn.100eedad
add esp, 4
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.101003d3
add esp, 0x88
ret