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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov eax, dword [ebp + 0x2c]
mov edi, eax
shr edi, 0xe
not edi
and edi, 8
xor ebx, ebx
mov word [esp + 0x3e], bx
mov word [esp + 0x3c], bx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
bt eax, 0x10
jb 0x41a04a
or edi, 0x800
mov edx, dword [ebp + 8]
mov ecx, 6
test eax, eax
js 0x41a058
mov ecx, eax
test edx, edx
je 0x41a10c
mov esi, dword [edx + 0x48]
test esi, esi
je 0x41a105
cmp dword [ebp + 0xc], 0
je 0x41a105
cmp dword [edx + 0x14], 2
jne 0x41a105
cmp word [ebp + 0x28], 0
setne al
cmp dword [ebp + 0x24], 0
mov dword [esp + 0x18], ecx
sete cl
test cl, al
mov eax, dword [esp + 0x18]
jne 0x41a105
and eax, 0xf
cmp eax, 0xb
jae 0x41a105
mov dword [esp + 0x38], eax
mov eax, dword [edx]
mov dword [esp + 4], eax
mov ecx, dword [edx + 4]
mov eax, dword [esi + 0x34]
cmp dword [ebp + 0x1c], 0
mov dword [esp + 0x10], eax
je 0x41a0ce
test eax, eax
jne 0x41a0ce
mov dword [esi + 0x34], 1
xor eax, eax
inc eax
mov dword [esp + 0x10], eax
bt dword [esp + 0x18], 0xa
jb 0x41a105
mov dword [esp], ecx
mov ecx, dword [ebp + 0xc]
call fcn.00419a4c
test eax, eax
je 0x41a13e
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
cmp dword [esp + 0x10], 0
je 0x41a116
xor edx, edx
cmp eax, 0xffffffff
jne 0x41a128
mov dword [ecx + 0x1c], 2
jmp 0x41aabe
mov dword [edx + 0x1c], 0x18
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dl, 1
cmp eax, 0xffff
jne 0x41a128
mov dword [esi + 0x34], 1
xor edx, edx
mov dword [esp + 0xc], edx
push dword [ebp + 0xc]
call fcn.0044e5a0
add esp, 4
cmp eax, 0x10000
jb 0x41a14a
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x41a10c
mov ecx, eax
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], ecx
mov ecx, eax
call fcn.00419acc
mov ecx, dword [esi + 4]
mov dword [esp + 8], ecx
movzx ecx, word [ebp + 0x28]
xor edx, edx
mov dword [esp + 0x78], ecx
add ecx, dword [esp + 0x10]
setb dl
add ecx, dword [esp + 8]
adc edx, 0
mov dword [esp + 0x14], eax
add ecx, 0x4a
adc edx, 0
mov eax, 0xfffffffe
cmp eax, ecx
mov eax, 0
sbb eax, edx
jae 0x41a1a4
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x41a10c
mov eax, dword [ebp + 0x20]
cmp byte [esp + 0xc], 0
je 0x41a1fa
mov ecx, dword [esp + 0x10]
mov eax, ecx
shr eax, 0x1f
xor edx, edx
mov ebx, dword [esp + 0x78]
add ebx, dword [ebp + 0x38]
setb dl
add ebx, dword [ebp + 0x40]
adc edx, 0
add ecx, ecx
add ebx, ecx
adc edx, eax
add ebx, dword [esp + 0x14]
adc edx, 0
add ebx, dword [esp + 8]
adc edx, 0
mov eax, dword [ebp + 8]
add ebx, dword [eax]
adc edx, dword [eax + 4]
mov eax, dword [ebp + 0x20]
add ebx, 0x472
adc edx, 0
je 0x41a1fa
mov dword [esi + 0x34], 1
mov ebx, dword [ebp + 0x18]
test eax, eax
je 0x41a21b
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x3c]
lea ebx, [esp + 0x3e]
push eax
push ebx
mov ebx, dword [ebp + 0x18]
call fcn.00419a55
add esp, 8
mov dword [esp + 0xc], 0
cmp ebx, 4
mov eax, dword [ebp + 0x1c]
sbb eax, 0
jb 0x41a236
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 4]
push dword [esp + 0x14]
mov ebx, dword [esp + 4]
push ebx
call fcn.00419ae5
add esp, 8
test eax, eax
je 0x41aab4
xor eax, eax
mov ecx, dword [esp + 4]
add ecx, dword [esp + 0x14]
adc ebx, eax
mov dword [esp + 4], ecx
mov dword [esp + 0x40], ecx
mov dword [esp], ebx
mov dword [esp + 0x44], ebx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
or eax, edx
setne al
cmp dword [esp + 0xc], 0
setne cl
and cl, al
movzx ebx, cl
xor ecx, ecx
shl ebx, 3
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 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 word [esp + 0x9c], 0
cmp dword [esi + 0x34], ecx
je 0x41a32d
mov esi, 0xfffffffe
cmp esi, dword [ebp + 0x18]
mov eax, 0
sbb eax, edx
jb 0x41a2f6
xor eax, eax
cmp esi, dword [esp + 4]
sbb eax, dword [esp]
mov dword [esp + 0x2c], 0
jae 0x41a450
xor eax, eax
cmp esi, dword [esp + 4]
mov ecx, 0
sbb ecx, dword [esp]
jae 0x41a30a
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x18]
bt ecx, 0x11
jb 0x41a419
lea ecx, [esp + 0xa0]
mov dword [esp + 0x2c], ecx
xor edx, edx
push eax
push 0
jmp 0x41a446
cmp dword [esp + 0x34], 0
mov ecx, dword [esp + 0x10]
jne 0x41a950
cmp dword [esp], 0
jne 0x41a950
movzx esi, word [esp + 0x3c]
movzx eax, word [esp + 0x3e]
mov dword [esp + 0x38], eax
movzx eax, di
mov dword [esp + 8], eax
mov dword [esp + 0x74], ebx
movzx eax, bx
mov dword [esp + 0x14], eax
xor ebx, ebx
mov edx, 0xffff
mov eax, dword [ebp + 0x38]
and eax, edx
and edx, ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x70], esi
push esi
push dword [esp + 0x3c]
push dword [esp + 0x10]
push dword [esp + 0x20]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call fcn.00419bdf
add esp, 0x28
push 0x1e
lea eax, [esp + 0x84]
push eax
push dword [esp + 8]
push dword [esp + 0x10]
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x41a57c
mov edx, dword [esp + 4]
add edx, 0x1e
mov eax, dword [esp]
adc eax, 0
mov ecx, esi
mov esi, dword [esp + 0x10]
push esi
push dword [ebp + 0xc]
mov dword [esp + 8], eax
push eax
mov dword [esp + 0x10], edx
push edx
push dword [ecx + 0x44]
call dword [ecx + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x41a588
mov edx, dword [esp + 4]
add edx, esi
mov ecx, dword [esp]
adc ecx, 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0
mov esi, dword [ebp + 8]
mov eax, edx
jmp 0x41a547
xor edx, edx
cmp esi, dword [ebp + 0x18]
mov ecx, 0
sbb ecx, dword [ebp + 0x1c]
jb 0x41a42f
mov esi, 0
jmp 0x41a433
lea esi, [esp + 0x30]
jae 0x41a439
lea edx, [esp + 0x20]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x2c], ecx
push eax
push esi
call fcn.00419b7b
add esp, 8
mov ecx, eax
movzx esi, word [esp + 0x3c]
movzx eax, word [esp + 0x3e]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x1c], ecx
add eax, ecx
movzx ecx, di
mov dword [esp + 8], ecx
mov dword [esp + 0x74], ebx
movzx ecx, bx
mov dword [esp + 0x14], ecx
xor ebx, ebx
mov edx, 0xffff
and eax, edx
and edx, dword [esp + 0x10]
lea ecx, [esp + 0x80]
mov dword [esp + 0x70], esi
push esi
push dword [esp + 0x3c]
push dword [esp + 0x10]
push dword [esp + 0x20]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call fcn.00419bdf
add esp, 0x28
push 0x1e
lea eax, [esp + 0x84]
push eax
push dword [esp + 8]
push dword [esp + 0x10]
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x41a57c
mov ecx, dword [esp + 4]
add ecx, 0x1e
mov eax, dword [esp]
adc eax, 0
mov edx, esi
mov esi, dword [esp + 0x10]
push esi
push dword [ebp + 0xc]
mov dword [esp + 8], eax
push eax
mov dword [esp + 0x10], ecx
push ecx
push dword [edx + 0x44]
call dword [edx + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x41a588
mov edx, dword [esp + 4]
add edx, esi
mov ecx, dword [esp]
adc ecx, 0
lea eax, [esp + 0xa0]
push dword [esp + 0x1c]
push eax
mov dword [esp + 8], ecx
push ecx
mov dword [esp + 0x10], edx
push edx
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
mov ecx, dword [esp + 0x30]
add esp, 0x14
cmp eax, ecx
jne 0x41a57c
mov eax, dword [esp + 4]
add eax, ecx
mov ecx, dword [esp]
adc ecx, 0
mov edx, dword [ebp + 0x38]
test edx, edx
je 0x41a597
push edx
push dword [ebp + 0x34]
push ecx
push eax
push dword [esi + 0x44]
mov ebx, eax
mov dword [esp + 0x14], ecx
call dword [esi + 0x3c]
mov ecx, dword [ebp + 0x38]
add esp, 0x14
cmp eax, ecx
jne 0x41ac34
add ebx, ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp]
adc ecx, 0
jmp 0x41a59b
mov dword [esi + 0x1c], 0x13
jmp 0x41a10c
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x41a10c
mov dword [esp + 4], eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov dword [esp], ecx
or eax, edx
je 0x41a735
push 0x2000
push 1
push dword [esi + 0x34]
call dword [esi + 0x28]
add esp, 0xc
test eax, eax
je 0x41a742
mov dword [esp + 8], eax
cmp dword [esp + 0xc], 0
je 0x41a751
push 0x4df40
push 1
mov ebx, dword [ebp + 8]
push dword [ebx + 0x34]
call dword [ebx + 0x28]
add esp, 0xc
test eax, eax
je 0x41a854
mov esi, eax
lea ecx, [esp + 0x50]
mov dword [ecx], ebx
mov eax, dword [esp + 4]
mov dword [ecx + 8], eax
mov eax, dword [esp]
mov dword [ecx + 0xc], eax
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov ebx, ecx
mov dword [esp + 4], 0
push eax
push 0xfffffffffffffff1
push dword [esp + 0x14]
call fcn.00412f29
add esp, 0xc
push eax
push ebx
push 0x419cbb
mov dword [esp + 0xc], esi
push esi
call fcn.00412f93
add esp, 0x10
xor esi, esi
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 8]
mov eax, 0x2000
push eax
push ebx
push esi
mov ebx, esi
mov esi, dword [esp + 0x10]
push esi
push dword [ebp + 0x14]
call dword [ebp + 0x10]
add esp, 0x14
mov edx, eax
mov ecx, 0x14
mov eax, 0x2000
cmp edx, eax
ja 0x41a830
add esi, edx
adc ebx, 0
mov dword [esp + 4], esi
cmp dword [ebp + 0x18], esi
mov eax, dword [ebp + 0x1c]
sbb eax, ebx
jb 0x41a830
mov esi, ebx
mov ebx, edx
push edx
push dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.00412d74
add esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x41a6c0
push dword [eax + 0x44]
call ecx
add esp, 4
xor ecx, ecx
test eax, eax
setne cl
lea eax, [ecx + ecx*2]
jmp 0x41a6c2
xor eax, eax
mov edx, dword [esp]
mov ecx, 4
test ebx, ebx
je 0x41a6d0
mov ecx, eax
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebx
push edx
call fcn.004161be
add esp, 0x10
test eax, eax
je 0x41a646
mov ecx, 0xc
cmp eax, 1
jne 0x41a830
push dword [esp]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
mov dword [esp + 0x24], esi
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
jmp 0x41a88b
mov dword [esp + 0xc], 0
jmp 0x41a89b
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x10
jmp 0x41aabe
xor eax, eax
push 0x2000
push dword [esp + 0xc]
push eax
mov dword [esp + 0x18], 0
push eax
push dword [ebp + 0x14]
call dword [ebp + 0x10]
add esp, 0x14
test eax, eax
je 0x41a86d
mov ecx, eax
mov dword [esp + 0xc], 0
xor ebx, ebx
mov dword [esp + 0x14], 0
mov esi, dword [esp + 8]
cmp eax, 0x2000
mov ecx, eax
mov eax, dword [ebp + 0x18]
ja 0x41aac5
add ebx, ecx
mov edx, ecx
mov ecx, dword [esp + 0x14]
adc ecx, 0
cmp eax, ebx
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], ecx
sbb eax, ecx
jb 0x41aac5
mov dword [esp + 0x6c], ebx
push edx
push esi
mov ebx, dword [esp + 8]
push ebx
mov esi, dword [esp + 0x10]
push esi
mov dword [esp + 0x5c], edx
mov ecx, dword [ebp + 8]
push dword [ecx + 0x44]
call dword [ecx + 0x3c]
add esp, 0x14
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jne 0x41ac24
push ecx
push dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.00412d74
add esp, 0xc
mov dword [esp + 0xc], eax
add esi, dword [esp + 0x4c]
mov dword [esp + 4], esi
adc ebx, 0
mov dword [esp], ebx
push 0x2000
mov esi, dword [esp + 0xc]
push esi
push dword [esp + 0x1c]
mov ebx, dword [esp + 0x78]
push ebx
push dword [ebp + 0x14]
call dword [ebp + 0x10]
add esp, 0x14
test eax, eax
jne 0x41a78f
jmp 0x41a877
mov esi, dword [ebp + 8]
mov dword [esi + 0x1c], ecx
push dword [esp]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
push dword [esp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
jmp 0x41aabe
push dword [esp + 8]
push dword [ebx + 0x34]
call dword [ebx + 0x2c]
add esp, 8
mov dword [ebx + 0x1c], 0x10
jmp 0x41aabe
xor ebx, ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
push dword [esp + 8]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
bt dword [esp + 0x18], 0x11
jb 0x41a927
mov dword [esp + 0x50], 0x8074b50
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x54], cl
mov byte [esp + 0x55], ch
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x56], al
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x57], al
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x2c], 0
je 0x41a948
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x60], cl
mov byte [esp + 0x61], ch
mov edx, ecx
shr edx, 0x10
mov byte [esp + 0x62], dl
shr ecx, 0x18
mov byte [esp + 0x63], cl
mov byte [esp + 0x64], al
mov byte [esp + 0x65], ah
mov ecx, eax
shr ecx, 0x10
mov byte [esp + 0x66], cl
shr eax, 0x18
mov esi, 0x18
mov ecx, 0x17
jmp 0x41ab01
cmp dword [esp + 0x2c], 0
je 0x41a99b
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x40]
mov eax, 0
sbb eax, dword [esp + 0x44]
jb 0x41a95f
xor eax, eax
jmp 0x41a963
test ecx, ecx
je 0x41aadb
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x41aabe
lea eax, [esp + 0x40]
mov ecx, 0xfffffffe
cmp ecx, dword [ebp + 0x18]
mov ecx, 0
sbb ecx, dword [ebp + 0x1c]
jb 0x41a97c
mov esi, 0
jmp 0x41a980
lea esi, [esp + 0x30]
jae 0x41a986
lea edx, [esp + 0x20]
lea ecx, [esp + 0xa0]
push eax
push esi
call fcn.00419b7b
add esp, 8
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov eax, 0xfffffffe
inc eax
sete bl
xor ecx, ecx
mov edx, 0xfffffffe
cmp edx, dword [ebp + 0x18]
sbb ecx, dword [ebp + 0x1c]
mov dword [esp + 8], ebx
mov dword [esp + 0x18], eax
jb 0x41a9cd
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
jb 0x41a9d7
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebp + 0x38]
add esi, dword [esp + 0x1c]
movzx ecx, word [esp + 0x70]
mov dword [esp + 0x14], ecx
movzx ecx, word [esp + 0x38]
mov dword [esp + 0x4c], ecx
movzx ecx, di
mov dword [esp + 0x6c], ecx
movzx ecx, word [esp + 0x74]
mov dword [esp + 0x7c], ecx
mov edx, 0xffff
and esi, edx
and edx, dword [esp + 0x10]
lea ecx, [esp + 0x80]
push dword [esp + 0x14]
push dword [esp + 0x50]
push dword [esp + 0x74]
push dword [esp + 0x88]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x30]
push ebx
push eax
push esi
call fcn.00419bdf
add esp, 0x28
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
push 0x1e
lea eax, [esp + 0x84]
push eax
push esi
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x41aab4
cmp dword [esp + 0x2c], 0
je 0x41ab8a
add ebx, 0x1e
adc esi, 0
push dword [esp + 0x10]
push dword [ebp + 0xc]
push esi
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, dword [esp + 0x10]
jne 0x41aab4
add ebx, dword [esp + 0x10]
adc esi, 0
lea eax, [esp + 0xa0]
push dword [esp + 0x1c]
push eax
push esi
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, dword [esp + 0x1c]
je 0x41ab32
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
xor ebx, ebx
jmp 0x41a10c
push esi
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x14
jmp 0x41aabe
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x5c], al
mov byte [esp + 0x5d], ah
mov ecx, eax
shr ecx, 0x10
mov byte [esp + 0x5e], cl
shr eax, 0x18
mov esi, 0x10
mov ecx, 0xf
mov byte [esp + ecx + 0x50], al
lea eax, [esp + 0x50]
push esi
push eax
push dword [esp + 8]
push dword [esp + 0x10]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x41aabe
add dword [esp + 4], esi
adc dword [esp], 0
cmp dword [esp + 0x2c], 0
je 0x41ab8a
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x40]
mov eax, 0
sbb eax, dword [esp + 0x44]
jb 0x41ab4c
xor eax, eax
jmp 0x41ab50
lea eax, [esp + 0x40]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x20]
mov ecx, 0
sbb ecx, dword [esp + 0x24]
jb 0x41ab6b
mov esi, 0
jmp 0x41ab6f
lea esi, [esp + 0x30]
jae 0x41ab75
lea edx, [esp + 0x20]
lea ecx, [esp + 0xa0]
push eax
push esi
call fcn.00419b7b
add esp, 8
mov dword [esp + 0x1c], eax
mov ecx, 0xffff
mov esi, dword [esp + 0x1c]
and esi, ecx
mov eax, dword [esp + 0x10]
and eax, ecx
movzx ebx, word [esp + 0x70]
movzx ecx, word [esp + 0x38]
mov dword [esp + 0x10], ecx
movzx edi, di
movzx ecx, word [esp + 0x74]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [ebp + 0x30]
push dword [esp + 0x50]
push dword [esp + 0x50]
push ebx
push dword [esp + 0x28]
push edi
push dword [esp + 0x38]
push dword [esp + 0x30]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0xb0]
push dword [ebp + 0x24]
push esi
push dword [esp + 0x70]
push eax
call fcn.00419cfa
add esp, 0x4c
test eax, eax
je 0x41aabe
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov ecx, dword [esp]
mov dword [eax + 4], ecx
xor ebx, ebx
inc ebx
jmp 0x41a10c
push dword [esp + 8]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x13
jmp 0x41aabe