Function at 0x4152c5
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 0x415309
or edi, 0x800
mov edx, dword [ebp + 8]
mov ecx, 6
test eax, eax
js 0x415317
mov ecx, eax
test edx, edx
je 0x4153cb
mov esi, dword [edx + 0x48]
test esi, esi
je 0x4153c4
cmp dword [ebp + 0xc], 0
je 0x4153c4
cmp dword [edx + 0x14], 2
jne 0x4153c4
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 0x4153c4
and eax, 0xf
cmp eax, 0xb
jae 0x4153c4
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 0x41538d
test eax, eax
jne 0x41538d
mov dword [esi + 0x34], 1
xor eax, eax
inc eax
mov dword [esp + 0x10], eax
bt dword [esp + 0x18], 0xa
jb 0x4153c4
mov dword [esp], ecx
mov ecx, dword [ebp + 0xc]
call fcn.00414d0b
test eax, eax
je 0x4153fd
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
cmp dword [esp + 0x10], 0
je 0x4153d5
xor edx, edx
cmp eax, 0xffffffff
jne 0x4153e7
mov dword [ecx + 0x1c], 2
jmp 0x415d7d
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 0x4153e7
mov dword [esi + 0x34], 1
xor edx, edx
mov dword [esp + 0xc], edx
push dword [ebp + 0xc]
call fcn.0043cc10
add esp, 4
cmp eax, 0x10000
jb 0x415409
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x4153cb
mov ecx, eax
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], ecx
mov ecx, eax
call fcn.00414d8b
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 0x415463
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x4153cb
mov eax, dword [ebp + 0x20]
cmp byte [esp + 0xc], 0
je 0x4154b9
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 0x4154b9
mov dword [esi + 0x34], 1
mov ebx, dword [ebp + 0x18]
test eax, eax
je 0x4154da
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.00414d14
add esp, 8
mov dword [esp + 0xc], 0
cmp ebx, 4
mov eax, dword [ebp + 0x1c]
sbb eax, 0
jb 0x4154f5
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.00414da4
add esp, 8
test eax, eax
je 0x415d73
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 0x4155ec
mov esi, 0xfffffffe
cmp esi, dword [ebp + 0x18]
mov eax, 0
sbb eax, edx
jb 0x4155b5
xor eax, eax
cmp esi, dword [esp + 4]
sbb eax, dword [esp]
mov dword [esp + 0x2c], 0
jae 0x41570f
xor eax, eax
cmp esi, dword [esp + 4]
mov ecx, 0
sbb ecx, dword [esp]
jae 0x4155c9
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x18]
bt ecx, 0x11
jb 0x4156d8
lea ecx, [esp + 0xa0]
mov dword [esp + 0x2c], ecx
xor edx, edx
push eax
push 0
jmp 0x415705
cmp dword [esp + 0x34], 0
mov ecx, dword [esp + 0x10]
jne 0x415c0f
cmp dword [esp], 0
jne 0x415c0f
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.00414e9e
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 0x41583b
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 0x415847
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 0x415806
xor edx, edx
cmp esi, dword [ebp + 0x18]
mov ecx, 0
sbb ecx, dword [ebp + 0x1c]
jb 0x4156ee
mov esi, 0
jmp 0x4156f2
lea esi, [esp + 0x30]
jae 0x4156f8
lea edx, [esp + 0x20]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x2c], ecx
push eax
push esi
call fcn.00414e3a
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.00414e9e
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 0x41583b
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 0x415847
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 0x41583b
mov eax, dword [esp + 4]
add eax, ecx
mov ecx, dword [esp]
adc ecx, 0
mov edx, dword [ebp + 0x38]
test edx, edx
je 0x415856
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 0x415ef3
add ebx, ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp]
adc ecx, 0
jmp 0x41585a
mov dword [esi + 0x1c], 0x13
jmp 0x4153cb
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x4153cb
mov dword [esp + 4], eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov dword [esp], ecx
or eax, edx
je 0x4159f4
push 0x2000
push 1
push dword [esi + 0x34]
call dword [esi + 0x28]
add esp, 0xc
test eax, eax
je 0x415a01
mov dword [esp + 8], eax
cmp dword [esp + 0xc], 0
je 0x415a10
push 0x4df40
push 1
mov ebx, dword [ebp + 8]
push dword [ebx + 0x34]
call dword [ebx + 0x28]
add esp, 0xc
test eax, eax
je 0x415b13
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.0040d9e9
add esp, 0xc
push eax
push ebx
push 0x414f7a
mov dword [esp + 0xc], esi
push esi
call fcn.0040da53
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 0x415aef
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 0x415aef
mov esi, ebx
mov ebx, edx
push edx
push dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.0040d834
add esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x41597f
push dword [eax + 0x44]
call ecx
add esp, 4
xor ecx, ecx
test eax, eax
setne cl
lea eax, [ecx + ecx*2]
jmp 0x415981
xor eax, eax
mov edx, dword [esp]
mov ecx, 4
test ebx, ebx
je 0x41598f
mov ecx, eax
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebx
push edx
call fcn.00410be7
add esp, 0x10
test eax, eax
je 0x415905
mov ecx, 0xc
cmp eax, 1
jne 0x415aef
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 0x415b4a
mov dword [esp + 0xc], 0
jmp 0x415b5a
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x10
jmp 0x415d7d
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 0x415b2c
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 0x415d84
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 0x415d84
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 0x415ee3
push ecx
push dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.0040d834
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 0x415a4e
jmp 0x415b36
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 0x415d7d
push dword [esp + 8]
push dword [ebx + 0x34]
call dword [ebx + 0x2c]
add esp, 8
mov dword [ebx + 0x1c], 0x10
jmp 0x415d7d
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 0x415be6
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 0x415c07
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 0x415dc0
cmp dword [esp + 0x2c], 0
je 0x415c5a
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x40]
mov eax, 0
sbb eax, dword [esp + 0x44]
jb 0x415c1e
xor eax, eax
jmp 0x415c22
test ecx, ecx
je 0x415d9a
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x415d7d
lea eax, [esp + 0x40]
mov ecx, 0xfffffffe
cmp ecx, dword [ebp + 0x18]
mov ecx, 0
sbb ecx, dword [ebp + 0x1c]
jb 0x415c3b
mov esi, 0
jmp 0x415c3f
lea esi, [esp + 0x30]
jae 0x415c45
lea edx, [esp + 0x20]
lea ecx, [esp + 0xa0]
push eax
push esi
call fcn.00414e3a
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 0x415c8c
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
jb 0x415c96
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.00414e9e
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 0x415d73
cmp dword [esp + 0x2c], 0
je 0x415e49
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 0x415d73
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 0x415df1
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
xor ebx, ebx
jmp 0x4153cb
push esi
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x14
jmp 0x415d7d
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 0x415d7d
add dword [esp + 4], esi
adc dword [esp], 0
cmp dword [esp + 0x2c], 0
je 0x415e49
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x40]
mov eax, 0
sbb eax, dword [esp + 0x44]
jb 0x415e0b
xor eax, eax
jmp 0x415e0f
lea eax, [esp + 0x40]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x20]
mov ecx, 0
sbb ecx, dword [esp + 0x24]
jb 0x415e2a
mov esi, 0
jmp 0x415e2e
lea esi, [esp + 0x30]
jae 0x415e34
lea edx, [esp + 0x20]
lea ecx, [esp + 0xa0]
push eax
push esi
call fcn.00414e3a
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.00414fb9
add esp, 0x4c
test eax, eax
je 0x415d7d
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 0x4153cb
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 0x415d7d