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

Disassembly:
sub esp, 0xb4
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x44], 0xffffffff
push esi
push edi
xor esi, esi
mov dword [esp + 0x1c], ebp
mov edi, dword [ebp + 8]
mov ebx, dword [ebp]
mov dword [esp + 0x18], esi
mov dword [esp + 0x40], 1
movzx eax, byte [edi + 0x10]
mov dword [esp + 0x48], edi
mov dword [esp + 0x38], ebx
lea edx, [eax + eax*8]
mov eax, dword [ebx + 4]
lea edx, [edx + 1]
test byte [eax + edx*8 + 0x28], 2
lea ecx, [eax + edx*8]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], eax
je 0x100ba9a5
mov ebp, dword [ecx + 0x44]
jmp 0x100baa4e
test byte [edx + 0x1c], 0x80
je 0x100ba9b3
mov ebp, dword [edx + 8]
jmp 0x100baa4e
lea eax, [esp + 0x4c]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], eax
xorps xmm0, xmm0
lea eax, [esp + 0x44]
movlpd qword [esp + 0x8f], xmm0
mov dword [esp + 0x60], eax
mov eax, 3
or dword [esp + 0x90], eax
mov word [esp + 0x88], ax
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x97], xmm0
mov byte [esp + 0x9f], 0
mov dword [esp + 0x8a], 0x10001
mov byte [esp + 0x8e], 5
mov dword [esp + 0x64], edx
mov ax, word [edx + 0x26]
mov word [esp + 0x44], ax
xor eax, eax
mov word [esp + 0x46], ax
test byte [ecx + 0x28], 1
jne 0x100baa4a
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x6c], eax
lea ebp, [esp + 0x58]
mov eax, edx
mov edx, 0x1c
add eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
movzx edx, word [eax + 0x26]
mov eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0xc], esi
jne 0x100baca0
mov eax, 0x1020
test word [ebx + 0x28], ax
jne 0x100baca0
mov eax, dword [ebx]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
and eax, 0x8000
or eax, 0
je 0x100baca0
test byte [ecx + 0x28], 0x4b
jne 0x100baca0
mov eax, dword [esp + 0x24]
test byte [eax], 0x80
jne 0x100baca0
test byte [ecx + 0x24], 0x10
jne 0x100baca0
mov eax, dword [esp + 0x3c]
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
add eax, esi
mov dword [esp + 0x28], eax
cmp dx, 0xa
jg 0x100baadb
xor ebx, ebx
jmp 0x100baaf8
movsx eax, dx
cdq
push edx
push eax
call fcn.100239d0
mov ecx, dword [esp + 0x18]
add esp, 8
sub ax, 0x21
movzx ebx, ax
mov eax, dword [esp + 0x28]
xor edx, edx
nop word [eax + eax]
cmp esi, eax
jae 0x100bac9a
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [edi + 8]
and eax, dword [edi + 0xc]
or ecx, eax
mov ecx, dword [esp + 0x10]
jne 0x100bac7e
mov eax, dword [ecx + 0x2c]
cmp dword [esi + 0x14], eax
jne 0x100bac7e
test byte [esi + 0xc], 0x82
je 0x100bac7e
mov dl, byte [ecx + 0x24]
test dl, 0x58
je 0x100bab69
mov eax, dword [esi]
test byte [eax + 4], 3
je 0x100bac7a
mov ecx, dword [ecx + 0x2c]
cmp dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x10]
jne 0x100bac7a
test dl, 0x18
je 0x100bab69
test byte [eax + 4], 2
jne 0x100bac7a
mov edx, dword [esi + 0x18]
test edx, edx
js 0x100bac7a
mov eax, dword [ecx + 0x10]
add edx, edx
mov ecx, dword [esi]
mov eax, dword [eax + 4]
mov dl, byte [eax + edx*8 + 8]
call fcn.1005ba70
test eax, eax
je 0x100bac76
mov eax, dword [edi + 0x38]
mov ecx, 1
mov edx, dword [esp + 0x14]
mov word [edi + 0x18], cx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x20], 0
mov dword [eax], esi
mov eax, dword [esp + 0x20]
add eax, ebx
mov word [edi + 0x12], ax
cmp byte [edx + 0x2b], 2
je 0x100babcc
mov edx, dword [esp + 0x24]
test dword [edx], 0x4000
jne 0x100babcc
add eax, 0x1c
jmp 0x100babcf
add eax, 0xffffffe7
movzx eax, ax
lea edx, [edi + 0x12]
mov word [edx], ax
test ax, ax
jns 0x100babe3
xor eax, eax
mov word [edi + 0x12], ax
mov eax, 0x2b
movsx ecx, bx
mov word [edi + 0x16], ax
cmp bx, ax
jl 0x100bac14
cmp ecx, 0x5c
jle 0x100babfe
movzx eax, bx
jmp 0x100bac43
cmp ecx, 0x4a
jle 0x100bac08
lea eax, [ebx + 1]
jmp 0x100bac40
movzx eax, byte [ecx + 0x101546e5]
add ax, bx
jmp 0x100bac40
lea eax, [ecx + 0x31]
cmp eax, 0x2b
jge 0x100bac23
mov eax, 0x2b
jmp 0x100bac43
lea eax, [ecx + 0x1f]
cmp eax, 0x2b
jge 0x100bac32
mov eax, 0x2c
jmp 0x100bac43
mov eax, 0x1015473b
sub eax, ecx
movzx eax, byte [eax]
add ax, 0x2b
movzx eax, ax
mov ecx, dword [esp + 0xc8]
mov edx, edi
mov word [edi + 0x14], ax
mov dword [edi + 0x2c], 0x4000
or ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
or eax, dword [esp + 0xcc]
mov dword [edi], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edi + 4], eax
call fcn.100b9330
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
add esi, 0x30
test edx, edx
je 0x100bab00
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret
mov esi, dword [esp + 0x18]
nop
test ebp, ebp
je 0x100bb099
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x100bacca
mov dl, byte [ecx + 0x24]
mov ecx, dword [ecx + 0x2c]
push eax
push dword [esp + 0x40]
call fcn.100ba690
add esp, 8
test eax, eax
je 0x100bb07c
test dword [ebp + 0x38], 0x100
jne 0x100bb07c
mov eax, dword [ebp + 8]
mov edx, ebp
mov ecx, dword [esp + 0x1c]
movzx esi, word [eax]
xor eax, eax
mov dword [edi + 0x18], eax
mov word [edi + 0x1c], ax
mov dword [edi + 0x30], eax
mov byte [edi + 0x11], al
mov word [edi + 0x12], ax
mov eax, dword [esp + 0xc8]
mov dword [edi], eax
mov eax, dword [esp + 0xcc]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x10]
mov word [edi + 0x16], si
mov dword [edi + 0x20], ebp
mov dword [esp + 0x20], esi
push dword [eax + 0x2c]
call fcn.100ba500
mov edx, dword [ebp + 0x38]
add esp, 4
mov ecx, edx
mov ebx, eax
and ecx, 3
mov dword [esp + 0x34], ebx
cmp cl, 3
jne 0x100bad9e
mov eax, dword [esp + 0x40]
xor ecx, ecx
test ebx, ebx
movzx eax, al
mov ebx, dword [esp + 0x14]
cmovne ecx, eax
mov dword [edi + 0x2c], pe_nt_image_headers32
lea eax, [esi + 0x10]
mov byte [edi + 0x11], cl
mov word [edi + 0x14], ax
cmp byte [ebx + 0x2b], 2
je 0x100bad68
test dword [ebx + 0x1c], 0x4000
je 0x100bad6f
mov dword [edi + 0x2c], 0x2000100
mov ecx, dword [esp + 0x3c]
mov edx, edi
push esi
call fcn.100b95f0
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, edi
call fcn.100b9330
mov word [edi + 0x16], si
test eax, eax
jne 0x100bb09b
mov ecx, dword [esp + 0x10]
jmp 0x100bb04e
mov ecx, dword [esp + 0x10]
test dl, 0x20
je 0x100badba
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
jmp 0x100bae25
mov esi, dword [ebp + 0x40]
mov ebx, dword [ebp + 0x44]
and esi, dword [ecx + 0x38]
and ebx, dword [ecx + 0x3c]
mov dword [edi + 0x2c], 0x200
test esi, esi
jne 0x100badd9
cmp ebx, 0x80000000
je 0x100badf0
mov eax, dword [ebp + 0x38]
test eax, 0x800
je 0x100bae1f
test eax, 0x400
jne 0x100bae1f
mov eax, esi
or eax, ebx
je 0x100bae25
push dword [ecx + 0x2c]
mov ecx, dword [esp + 0x3c]
mov edx, ebp
call fcn.100ba890
mov ecx, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x100bae2c
or dword [edi + 0x2c], eax
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
jmp 0x100bae2c
mov eax, esi
or eax, ebx
jne 0x100bae2c
mov dword [edi + 0x2c], 0x240
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x100bae9b
mov eax, dword [esp + 0x14]
test byte [eax + 0x1c], 0x80
jne 0x100bae9b
cmp dword [ebp + 0x24], edx
jne 0x100bae9b
test byte [ecx + 0x28], 2
jne 0x100bae9b
mov eax, esi
or eax, ebx
jne 0x100bb04a
test byte [ebp + 0x38], 4
jne 0x100bb04a
mov edi, dword [esp + 0x14]
mov ax, word [ebp + 0x30]
cmp ax, word [edi + 0x28]
mov edi, dword [esp + 0x48]
jge 0x100bb04a
mov eax, dword [esp + 0x38]
test byte [eax + 0x28], 4
jne 0x100bb04a
cmp byte [0x10165b3f], dl
je 0x100bb04a
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x50], 0x20
jne 0x100bb04a
mov eax, dword [esp + 0x40]
xor ecx, ecx
movzx eax, al
test edx, edx
cmovne ecx, eax
mov byte [edi + 0x11], cl
movsx ecx, word [ebp + 0x30]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov ecx, dword [esp + 0x14]
cdq
movsx ecx, word [ecx + 0x28]
idiv ecx
mov ecx, dword [esp + 0x20]
inc eax
add eax, ecx
or esi, ebx
mov word [edi + 0x14], ax
je 0x100bb004
mov edx, dword [esp + 0x38]
lea eax, [ecx + 0x10]
movzx esi, ax
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x34], eax
cmp dword [edx + 0x5c], ecx
jle 0x100bafa0
mov edi, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x24], eax
mov ebx, dword [edx + 0x68]
xorps xmm0, xmm0
mov edx, dword [ebx + eax]
add ebx, eax
mov dword [esp + 0xa4], 0
lea eax, [esp + 0x50]
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0xa8], 0x10065fd0
mov dword [esp + 0xbc], eax
test edx, edx
je 0x100baf5d
lea ecx, [esp + 0xa4]
call fcn.10058100
mov ecx, dword [esp + 0x28]
cmp word [esp + 0xb8], 0
jne 0x100baf9c
movzx eax, word [ebx + 8]
test ax, ax
jg 0x100baf75
add esi, eax
jmp 0x100baf7f
dec esi
test byte [ebx + 0xc], 0x82
je 0x100baf7f
sub esi, 0x13
mov edx, dword [esp + 0x38]
inc ecx
mov eax, dword [esp + 0x24]
add eax, 0x30
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
cmp ecx, dword [edx + 0x5c]
jl 0x100baf03
mov edi, dword [esp + 0x48]
movzx ebx, word [edi + 0x14]
movsx ecx, bx
movsx edx, si
cmp bx, si
jl 0x100bafd4
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x100bafba
mov eax, ebx
jmp 0x100baffc
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x100bafc6
lea eax, [ebx + 1]
jmp 0x100baff9
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, bx
jmp 0x100baff9
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x100bafe0
movzx eax, si
jmp 0x100baffc
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x100bafed
inc esi
movzx eax, si
jmp 0x100baffc
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, si
movzx eax, ax
mov ecx, dword [esp + 0x20]
mov word [edi + 0x14], ax
push ecx
mov ecx, dword [esp + 0x40]
mov edx, edi
call fcn.100b95f0
mov ecx, dword [esp + 0x14]
add esp, 4
test byte [ecx + 0x24], 0x10
je 0x100bb023
cmp dword [ebp + 0x28], 0
jne 0x100bb036
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.100b9330
mov ecx, dword [esp + 0x10]
mov edx, eax
jmp 0x100bb03a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov word [edi + 0x16], ax
test edx, edx
jne 0x100bac8d
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, ecx
push 0
push ebp
mov ecx, eax
mov byte [eax + 0x10], 0
call fcn.100b9a60
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
cmp byte [eax + 0x10], 1
jne 0x100bb07c
or dword [ebx + 0x1c], 0x100
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x28], 2
je 0x100bb08a
xor ebp, ebp
jmp 0x100bb08d
mov ebp, dword [ebp + 0x14]
inc dword [esp + 0x40]
test esi, esi
je 0x100baca0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret