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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
xor esi, esi
mov word [esp + 0x22], si
mov word [esp + 0x20], si
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], esi
mov esi, 6
test edx, edx
js 0x41b44b
mov esi, edx
mov edx, eax
or edx, ecx
je 0x41b45b
mov ebx, esi
and ebx, 0x400
jmp 0x41b46f
mov edi, esi
and edi, 0x400
xor ebx, ebx
cmp dword [ebp + 0x14], 0
je 0x41b475
test edi, edi
jne 0x41b475
mov edi, ebx
mov bx, 8
mov edx, dword [ebp + 8]
bt esi, 0x10
jb 0x41b487
movzx ebx, bx
or ebx, 0x800
mov dword [esp + 0x24], ebx
and esi, 0xf
sete bl
test edi, edi
setne bh
test edx, edx
je 0x41b554
mov edx, dword [edx + 0x48]
mov dword [esp], edx
test edx, edx
je 0x41b54a
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 2
jne 0x41b54a
cmp dword [ebp + 0x14], 0
sete dl
cmp dword [ebp + 0x10], 0
setne dh
cmp dword [ebp + 0xc], 0
je 0x41b54a
or dh, dl
je 0x41b54a
cmp word [ebp + 0x1c], 0
setne dl
cmp dword [ebp + 0x18], 0
sete dh
test dh, dl
jne 0x41b54a
cmp esi, 0xb
jae 0x41b54a
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov dword [esp + 8], edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
mov dword [esp + 4], edx
mov edx, dword [esp + 8]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 4]
mov dword [esp + 0x3c], edx
mov edx, dword [esp]
cmp dword [edx + 0x34], 0
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
je 0x41b52c
cmp edx, 0xffffffff
jne 0x41b542
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 2
jmp 0x41b554
test ecx, ecx
jne 0x41b538
cmp edx, 0xffff
jne 0x41b542
mov edx, dword [esp]
mov dword [edx + 0x34], 1
or eax, ecx
je 0x41b55e
test edi, edi
jne 0x41b55e
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x18
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 0xc]
call fcn.0041bf54
test eax, eax
je 0x41b5f7
mov eax, dword [ebp + 0x30]
test eax, eax
jne 0x41b58c
lea eax, [esp + 0x88]
push eax
call fcn.0044d11f
add esp, 4
lea eax, [esp + 0x88]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x26]
push eax
call fcn.0041bf5d
add esp, 8
test edi, edi
je 0x41b5b2
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x78], eax
mov bh, 1
jmp 0x41b5e5
or bl, bh
xor ecx, ecx
mov eax, dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push ecx
call fcn.004143e0
add esp, 0xc
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x28], ecx
cmp ecx, 4
setb bh
jb 0x41b5e1
mov eax, esi
or bh, bl
mov esi, eax
push dword [ebp + 0xc]
call fcn.0044f2e0
add esp, 4
cmp eax, 0x10000
jb 0x41b606
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x41b554
mov edx, eax
mov byte [esp + 0x44], bh
movzx eax, word [ebp + 0x1c]
mov dword [esp + 0x7c], eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], edx
call fcn.0041bfd4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], ecx
xor ebx, ebx
mov ecx, dword [esp + 0x7c]
add ecx, edx
setb bl
add ecx, dword [esp + 0x58]
adc ebx, 0
mov dword [esp + 0x34], eax
mov eax, ecx
add eax, 0x4a
adc ebx, 0
mov edx, 0xfffffffe
cmp edx, eax
mov eax, 0
sbb eax, ebx
jae 0x41b66b
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x41b554
mov eax, dword [esp]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], eax
test eax, eax
mov edx, dword [esp + 0x18]
jne 0x41b6e3
shr edx, 0x1f
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x7c]
add eax, dword [ebp + 0x38]
mov ebx, 0
adc ebx, 0xffffffff
add eax, dword [ebp + 0x40]
adc ebx, 0
mov edx, dword [esp + 0x18]
add edx, edx
add eax, edx
adc ebx, dword [esp + 0x10]
add eax, dword [esp + 0x34]
adc ebx, 0
add eax, dword [esp + 0x58]
adc ebx, 0
mov edx, dword [ebp + 8]
add eax, dword [edx]
adc ebx, dword [edx + 4]
mov edx, dword [esp + 0x18]
add eax, 0x72
adc ebx, 0
cmp ebx, 0xffffffff
je 0x41b6e3
mov eax, dword [esp]
mov dword [eax + 0x34], 1
xor eax, eax
inc eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x58], 0
test edx, edx
mov ebx, edx
mov edx, dword [ebp + 8]
je 0x41b723
mov eax, dword [ebp + 0xc]
cmp byte [ebx + eax - 1], 0x2f
mov ebx, dword [ebp + 0x14]
jne 0x41b726
test ebx, ebx
jne 0x41b717
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x58], 0x10
or eax, dword [esp + 0x28]
je 0x41b726
mov dword [edx + 0x1c], 0x18
jmp 0x41b554
mov ebx, dword [ebp + 0x14]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41b733
mov eax, 0x1c
add eax, ecx
add eax, 0x2e
mov ecx, dword [esp]
cmp dword [ecx + 8], eax
jae 0x41b759
mov ecx, dword [ebp + 8]
mov edx, dword [esp]
push 1
push eax
call fcn.004255b0
mov ecx, dword [esp + 8]
add esp, 8
test eax, eax
je 0x41b7b8
mov eax, dword [ecx + 0x14]
inc eax
cmp dword [ecx + 0x18], eax
jae 0x41b77a
mov ecx, dword [esp]
lea edx, [ecx + 0x10]
mov ecx, dword [ebp + 8]
push 1
push eax
call fcn.004255b0
add esp, 8
test eax, eax
je 0x41b7b8
mov cl, byte [esp + 0x44]
xor cl, 1
xor eax, eax
test ebx, ebx
mov byte [esp + 0xc], cl
je 0x41b7c7
test cl, cl
mov ecx, dword [ebp + 8]
je 0x41b7ca
push 0x4df40
push 1
push dword [ecx + 0x34]
mov eax, dword [ebp + 8]
call dword [eax + 0x28]
mov ecx, dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x41b7ca
mov dword [ecx + 0x1c], 0x10
jmp 0x41b554
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x10
jmp 0x41b554
mov ecx, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 8]
mov edx, ebx
push dword [esp + 0x34]
push dword [esp + 8]
call fcn.0041bfed
add esp, 8
test eax, eax
je 0x41b8be
test edi, edi
setne byte [esp + 0x54]
xor ecx, ecx
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
add edi, eax
mov edx, dword [esp + 0x3c]
adc edx, ecx
add ebx, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 4]
adc ebx, ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
mov word [esp + 0xa4], 0
mov al, byte [esp + 0x54]
or al, byte [esp + 0xc]
movzx eax, al
shl eax, 3
mov dword [esp + 0x34], eax
mov eax, dword [esp]
cmp dword [eax + 0x34], ecx
mov eax, ebx
je 0x41b8d3
mov dword [esp + 0x1c], 0
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov eax, 0xfffffffe
cmp eax, ebx
mov eax, 0
mov dword [esp], ecx
sbb eax, ecx
jb 0x41b9c5
xor eax, eax
mov ecx, 0xfffffffe
cmp ecx, edi
sbb eax, edx
jb 0x41b9c5
xor eax, eax
mov ebx, dword [esp + 0x24]
mov dword [esp], edi
mov dword [esp + 0xc], edx
jmp 0x41ba2c
push dword [esp + 0x10]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
jmp 0x41b554
cmp dword [esp + 0x4c], 0
jne 0x41bd6d
test eax, eax
jne 0x41bd6d
mov dword [esp + 4], eax
mov dword [esp], edi
movzx edi, word [esp + 0x20]
movzx ebx, word [esp + 0x22]
movzx eax, word [esp + 0x24]
mov dword [esp + 0x1c], eax
movzx eax, word [esp + 0x34]
mov dword [esp + 0x40], eax
mov dword [esp + 0xc], edx
mov edx, 0xffff
mov eax, dword [ebp + 0x38]
and eax, edx
mov ecx, dword [esp + 0x18]
and edx, ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x84], edi
push edi
mov dword [esp + 0x58], ebx
push ebx
push dword [esp + 0x24]
push dword [esp + 0x4c]
xor edi, edi
push edi
push edi
push edi
push edi
push edi
push eax
call fcn.0041c0e7
add esp, 0x28
push 0x1e
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x14]
push dword [esp + 0xc]
mov edi, dword [ebp + 8]
push dword [edi + 0x44]
call dword [edi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x41bb27
mov eax, dword [esp + 8]
add eax, 0x1e
mov ecx, dword [esp + 4]
adc ecx, 0
mov ebx, dword [esp + 0x18]
push ebx
push dword [ebp + 0xc]
mov dword [esp + 0xc], ecx
push ecx
mov dword [esp + 0x14], eax
push eax
push dword [edi + 0x44]
call dword [edi + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x41bbaf
mov edx, dword [esp + 8]
add edx, dword [esp + 0x18]
mov ecx, dword [esp + 4]
adc ecx, 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x50], 0
jmp 0x41bb3b
mov eax, 0xfffffffe
cmp eax, edi
mov eax, 0
sbb eax, edx
jb 0x41b9d9
xor eax, eax
jmp 0x41b9dd
lea eax, [esp + 0x38]
mov edi, 0xfffffffe
cmp edi, ebx
mov edi, 0
sbb edi, dword [esp]
mov edx, 0
jb 0x41b9fa
mov edi, 0
jmp 0x41b9fe
lea edi, [esp + 0x48]
mov ebx, dword [esp + 0x24]
jae 0x41ba08
lea edx, [esp + 0x28]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x1c], ecx
push eax
push edi
call fcn.0041c083
add esp, 8
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], ecx
movzx edi, word [esp + 0x20]
movzx ecx, word [esp + 0x22]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
mov ecx, dword [ebp + 0x38]
add eax, ecx
movzx ecx, bx
mov dword [esp + 0x40], ecx
movzx ecx, word [esp + 0x34]
mov dword [esp + 0x5c], ecx
xor ebx, ebx
mov edx, 0xffff
and eax, edx
mov ecx, dword [esp + 0x18]
and edx, ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x84], edi
push edi
push dword [esp + 0x58]
push dword [esp + 0x48]
push dword [esp + 0x68]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call fcn.0041c0e7
add esp, 0x28
push 0x1e
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x14]
push dword [esp + 0xc]
mov edi, dword [ebp + 8]
push dword [edi + 0x44]
call dword [edi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x41bb27
mov ecx, dword [esp + 8]
add ecx, 0x1e
mov ebx, dword [esp + 4]
adc ebx, 0
mov eax, edi
mov edi, dword [esp + 0x18]
push edi
push dword [ebp + 0xc]
push ebx
mov dword [esp + 0x14], ecx
push ecx
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, edi
jne 0x41bbaf
mov edx, dword [esp + 8]
add edx, edi
adc ebx, 0
cmp dword [esp + 0x1c], 0
mov ecx, ebx
je 0x41bb33
lea eax, [esp + 0xa8]
mov ebx, dword [esp + 0x50]
push ebx
push eax
mov dword [esp + 0xc], ecx
push ecx
mov edi, edx
push edx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x41bbcb
mov edx, edi
add edx, dword [esp + 0x50]
mov ecx, dword [esp + 4]
adc ecx, 0
jmp 0x41bb3b
mov dword [edi + 0x1c], 0x13
jmp 0x41b554
mov dword [esp + 0x1c], 0
mov edi, dword [ebp + 0x38]
test edi, edi
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
je 0x41bb6c
push edi
push dword [ebp + 0x34]
push ecx
push edx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, edi
jne 0x41bbcb
mov eax, dword [ebp + 0x38]
add dword [esp + 8], eax
adc dword [esp + 4], 0
cmp byte [esp + 0x44], 0
je 0x41bbda
mov esi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [esp + 0xc]
push dword [esp + 0x14]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x41bbaf
mov eax, dword [ebp + 0x14]
add dword [esp + 8], eax
adc dword [esp + 4], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
jmp 0x41bc59
push dword [esp + 0x10]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x13
jmp 0x41b554
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x41b554
cmp dword [ebp + 0x14], 0
je 0x41bc59
lea edi, [esp + 0x60]
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, dword [esp + 8]
mov dword [edi + 8], eax
mov eax, dword [esp + 4]
mov dword [edi + 0xc], eax
xor eax, eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
push eax
push 0xfffffffffffffff1
push esi
call fcn.0041459a
add esp, 0xc
push eax
push edi
push 0x41b5c3
mov esi, dword [esp + 0x1c]
push esi
call fcn.00414604
add esp, 0x10
push 4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call fcn.00417e54
add esp, 0x10
cmp eax, 1
jne 0x41bd4d
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
push dword [esp + 0x10]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov esi, ecx
mov dword [esp], eax
or ecx, eax
je 0x41be52
mov dword [esp + 0x60], 0x8074b50
mov edx, dword [esp + 0x78]
mov byte [esp + 0x64], dl
mov byte [esp + 0x65], dh
mov ecx, edx
shr ecx, 0x10
mov byte [esp + 0x66], cl
mov ecx, edx
shr ecx, 0x18
mov byte [esp + 0x67], cl
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp dword [esp + 0x1c], 0
je 0x41bd69
mov byte [esp + 0x68], cl
mov byte [esp + 0x69], ch
mov edx, ecx
shr edx, 0x10
mov byte [esp + 0x6a], dl
mov edx, ebx
shr edx, 0x10
shr ecx, 0x18
mov byte [esp + 0x6b], cl
mov ecx, ebx
shr ecx, 0x18
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], bh
mov byte [esp + 0x6e], dl
mov byte [esp + 0x6f], cl
mov edx, esi
mov byte [esp + 0x70], dl
mov byte [esp + 0x71], dh
mov ecx, esi
shr ecx, 0x10
mov byte [esp + 0x72], cl
mov ecx, esi
shr ecx, 0x18
mov byte [esp + 0x73], cl
mov dword [esp + 0x10], 0x38
mov dword [esp + 0x40], 0x30
mov ecx, 0x28
mov dword [esp + 0x44], 0x18
mov dword [esp + 0xc], 0x17
mov eax, dword [esp]
mov edx, eax
mov byte [esp + 0x17], al
mov dword [esp + 0x5c], 0x16
mov dword [esp + 0x80], 0x15
mov edi, 0x14
jmp 0x41bdc3
push dword [esp + 0x10]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0xc
jmp 0x41b554
test ebx, ebx
je 0x41bd7c
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x41b554
mov dword [esp + 0x68], ecx
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x40], 0x10
mov ecx, 8
mov dword [esp + 0xc], 0xf
mov dword [esp + 0x5c], 0xe
mov edx, esi
mov byte [esp + 0x17], dl
mov dword [esp + 0x80], 0xd
mov edi, 0xc
mov dword [esp + 0x44], 0x10
mov ebx, esi
mov edx, dword [esp]
shrd ebx, edx, cl
shr edx, cl
mov al, byte [esp + 0x17]
mov byte [esp + edi + 0x60], al
test cl, 0x20
jne 0x41bddc
mov edx, ebx
mov ecx, dword [esp + 0x80]
mov byte [esp + ecx + 0x60], dl
mov ebx, esi
mov ecx, dword [esp + 0x40]
mov edx, dword [esp]
shrd ebx, edx, cl
shr edx, cl
test cl, 0x20
jne 0x41bdfc
mov edx, ebx
mov ecx, dword [esp + 0x5c]
mov byte [esp + ecx + 0x60], dl
mov ecx, dword [esp + 0x10]
mov eax, dword [esp]
shrd esi, eax, cl
shr eax, cl
test cl, 0x20
jne 0x41be17
mov eax, esi
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x60], al
lea eax, [esp + 0x60]
mov esi, dword [esp + 0x44]
push esi
push eax
push dword [esp + 0xc]
push dword [esp + 0x14]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x41b554
mov eax, dword [esp + 0x44]
add dword [esp + 8], eax
adc dword [esp + 4], 0
cmp dword [esp + 0x1c], 0
je 0x41beb1
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x38]
mov eax, 0
sbb eax, dword [esp + 0x3c]
jb 0x41be73
xor eax, eax
jmp 0x41be77
lea eax, [esp + 0x38]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x28]
mov ecx, 0
sbb ecx, dword [esp + 0x2c]
jb 0x41be92
mov edi, 0
jmp 0x41be96
lea edi, [esp + 0x48]
jae 0x41be9c
lea edx, [esp + 0x28]
lea ecx, [esp + 0xa8]
push eax
push edi
call fcn.0041c083
add esp, 8
mov dword [esp + 0x50], eax
mov ecx, 0xffff
mov esi, dword [esp + 0x50]
and esi, ecx
mov eax, dword [esp + 0x18]
and eax, ecx
movzx edi, word [esp + 0x84]
movzx ebx, word [esp + 0x54]
movzx ecx, word [esp + 0x24]
mov dword [esp], ecx
movzx ecx, word [esp + 0x34]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [esp + 0x60]
push dword [esp + 0x48]
push dword [esp + 0x48]
push edi
push ebx
push dword [esp + 0x1c]
push dword [esp + 0x44]
push dword [esp + 0x9c]
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push dword [esp + 0xb4]
push dword [ebp + 0x18]
push esi
push dword [esp + 0x60]
push eax
call fcn.0041c202
add esp, 0x4c
test eax, eax
je 0x41b554
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 4]
mov dword [eax + 4], ecx
xor eax, eax
inc eax
jmp 0x41b556