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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7d0a42
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00410740
cmp word [esi + 0x90], 0x3f
jne 0x414eb4
cmp dword [esi + 0x94], 1
jne 0x414eb4
mov ecx, esi
call fcn.00410740
movzx ecx, word [esi + 0x90]
movzx eax, cx
xor edi, edi
add eax, 0xffffffdf
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0x3e
cmp eax, 0x31
ja case.0x4142b3.41
movzx eax, byte [eax + 0x415180]
mov ebx, dword [ebp + 8]
jmp dword [eax*4 + 0x41515c]
mov dword [esp + 0x18], 1
mov ecx, esi
call fcn.00410740
push 0xc
call fcn.00704930
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
xor eax, eax
mov dword [esp + 0x48], eax
cmp edi, eax
je 0x414305
mov edx, dword [ebp + 8]
xor ecx, ecx
cmp dword [esp + 0x18], eax
mov eax, dword [edx]
sete cl
and eax, 0xffffffef
push ecx
push eax
mov ecx, esi
call fcn.004107f0
push eax
mov ecx, edi
call fcn.004168c0
mov dword [esp + 0x48], 0xffffffff
push eax
mov ecx, esi
call fcn.00411fe0
mov edi, eax
jmp 0x41513d
movzx eax, word [esi + 0xa0]
cmp eax, 0x21
je 0x41432f
cmp eax, 0x3d
je 0x414337
jmp case.0x4142b3.39
mov dword [esp + 0x18], 1
mov ecx, esi
call fcn.00410740
mov ecx, esi
call fcn.00410740
push 0xc
call fcn.00704930
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
mov dword [esp + 0x48], 1
test edi, edi
je 0x414382
mov edx, dword [ebx]
xor ecx, ecx
cmp dword [esp + 0x18], ecx
sete cl
or edx, 0x10
push ecx
push edx
mov ecx, esi
call fcn.004107f0
push eax
mov ecx, edi
call fcn.004168c0
jmp 0x414384
xor eax, eax
mov dword [esp + 0x48], 0xffffffff
push eax
mov ecx, esi
call fcn.00411fe0
mov edi, eax
test edi, edi
jne 0x41513d
cmp word [esi + 0x90], 0x50
jne case.0x4142b3.34
mov ecx, esi
call fcn.00410740
movzx eax, word [esi + 0x90]
cmp ax, 0x3c
jne 0x4143c6
mov dword [esp + 0x14], 0x3e
jmp 0x4143d4
cmp ax, 0x27
jne 0x4143d4
mov dword [esp + 0x14], 0x27
mov ecx, esi
call fcn.00410740
mov eax, dword [esi + 0xc]
mov dword [esp + 0x28], eax
inc eax
push 0x18
mov dword [esi + 0xc], eax
call fcn.00704930
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], 2
test eax, eax
je 0x41440f
mov ecx, dword [ebx]
and ecx, 0x10
push ecx
mov ecx, eax
call fcn.00412890
jmp 0x414411
xor eax, eax
mov dword [esp + 0x48], 0xffffffff
push eax
mov ecx, esi
call fcn.00411fe0
push 0x1c
mov dword [esp + 0x24], eax
call fcn.00704930
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], 3
test eax, eax
je 0x414453
mov edx, dword [ebx]
shr edx, 4
and edx, 1
push edx
push 0xffffffffffffffff
mov ecx, eax
call fcn.00416930
jmp 0x414455
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 0x48], edi
push eax
mov ecx, esi
call fcn.00411fe0
mov ebx, eax
push 0x1c
mov dword [esp + 0x1c], ebx
call fcn.00704930
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], 4
test eax, eax
je 0x41449c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
shr edx, 4
not edx
and edx, 1
push edx
push edi
mov ecx, eax
call fcn.00416930
jmp 0x41449e
xor eax, eax
mov dword [esp + 0x48], edi
push eax
mov ecx, esi
call fcn.00411fe0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], eax
call fcn.00413240
mov dword [esp + 0x48], 5
cmp word [esi + 0x90], 0
je 0x414597
lea ecx, [ecx]
movzx eax, word [esi + 0x90]
cmp ax, word [esp + 0x14]
je 0x414597
push 1
movzx eax, ax
push 1
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [ebx + 0xc]
mov dword [esp + 0x30], eax
call fcn.00416730
movzx eax, word [esi + 0x90]
movzx edx, al
cmp dx, ax
jne 0x414511
mov bl, byte [esi + 0x90]
jmp 0x414513
xor bl, bl
mov edx, dword [esp + 0x38]
cmp edx, 8
mov edi, edx
jge 0x414523
mov edi, 8
mov eax, dword [esp + 0x34]
lea ecx, [eax + 2]
cmp ecx, edi
jle 0x414548
add edi, edi
cmp ecx, edi
jle 0x414548
lea edi, [eax + 0xd]
mov ecx, edi
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x414546
dec ecx
or ecx, 0xfffffff8
inc ecx
sub edi, ecx
cmp edi, edx
jle 0x414566
mov edx, dword [esp + 0x30]
push edi
push edx
call fcn.00723dd8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x30]
mov byte [ecx + eax], bl
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x30]
mov ecx, esi
mov byte [edx + eax], 0
call fcn.00410740
cmp word [esi + 0x90], 0
mov ebx, dword [esp + 0x18]
jne 0x4144d0
mov ecx, esi
call fcn.00410740
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4145b2
mov dword [esp + 0x18], 0x8300e2
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00412da0
add esp, 8
test eax, eax
je 0x4145ed
mov edx, dword [esp + 0x18]
xor eax, eax
cmp byte [edx], al
sete al
test eax, eax
je 0x4145ed
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 4], eax
mov dword [ecx + 4], eax
lea ecx, [ebx + 0xc]
call fcn.004167d0
mov edi, dword [esp + 0x20]
add edi, 4
push ebx
mov ecx, edi
call fcn.00411040
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, esi
call fcn.004107f0
push eax
mov ecx, edi
call fcn.00411040
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.00411040
mov ebx, dword [esp + 0x28]
push 0
push ebx
lea ecx, [esi + 0x44]
call fcn.004169b0
mov edx, dword [esi + 0x48]
mov edi, dword [esp + 0x20]
mov dword [edx + ebx*4], edi
jmp 0x414d8b
mov ecx, esi
call fcn.00410740
push 8
call fcn.00704930
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
mov dword [esp + 0x48], 6
test edi, edi
je 0x414678
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov ecx, esi
call fcn.004107f0
push eax
mov ecx, edi
call fcn.00416b30
jmp 0x414305
xor eax, eax
jmp 0x414305
mov ecx, esi
call fcn.00410740
cmp word [esi + 0x90], di
je 0x4146b4
nop
movzx edx, word [esi + 0x90]
push edx
call fcn.0072456a
add esp, 4
test eax, eax
je 0x4146b4
mov ecx, esi
call fcn.00410740
cmp word [esi + 0x90], di
jne 0x414690
movzx eax, word [esi + 0x90]
cmp ax, 0x3c
je 0x4147f5
cmp ax, 0x27
je 0x4147f5
lea ecx, [esp + 0x2c]
call fcn.00413240
mov dword [esp + 0x48], 9
cmp word [esi + 0x90], 0
je 0x414791
movzx eax, word [esi + 0x90]
cmp ax, 0x29
je 0x414791
movzx ecx, al
cmp cx, ax
jne 0x41470f
mov bl, byte [esi + 0x90]
jmp 0x414711
xor bl, bl
mov edx, dword [esp + 0x38]
cmp edx, 8
mov edi, edx
jge 0x414721
mov edi, 8
mov eax, dword [esp + 0x34]
lea ecx, [eax + 2]
cmp ecx, edi
jle 0x414746
add edi, edi
cmp ecx, edi
jle 0x414746
lea edi, [eax + 0xd]
mov ecx, edi
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x414744
dec ecx
or ecx, 0xfffffff8
inc ecx
sub edi, ecx
cmp edi, edx
jle 0x414764
mov edx, dword [esp + 0x30]
push edi
push edx
call fcn.00723dd8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x30]
mov byte [ecx + eax], bl
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x30]
mov ecx, esi
mov byte [edx + eax], 0
call fcn.00410740
cmp word [esi + 0x90], 0
jne 0x4146ee
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4147ad
mov dword [esp + 0x20], 0x8300e2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00412da0
push 0x1c
call fcn.00704930
add esp, 0xc
mov dword [esp + 0x28], eax
mov byte [esp + 0x48], 0xa
test eax, eax
je 0x4147e9
mov edx, dword [esp + 0x1c]
push edx
mov ecx, eax
call fcn.00416b90
mov byte [esp + 0x48], 9
jmp 0x414d78
xor eax, eax
mov byte [esp + 0x48], 9
jmp 0x414d78
xor ecx, ecx
cmp ax, 0x3c
setne cl
push 0x1c
dec ecx
and ecx, 0x17
add ecx, 0x27
movzx edx, cx
mov dword [esp + 0x18], edx
call fcn.00704930
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], 7
test eax, eax
je 0x414831
push 0xfffffffffffffffd
mov ecx, eax
call fcn.00416b90
jmp 0x414833
xor eax, eax
mov dword [esp + 0x48], 0xffffffff
push eax
mov ecx, esi
call fcn.00411fe0
mov edi, eax
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.00410740
lea ecx, [esp + 0x2c]
call fcn.00413240
mov dword [esp + 0x48], 8
cmp word [esi + 0x90], 0
je 0x414937
nop
movzx eax, word [esi + 0x90]
cmp ax, word [esp + 0x14]
je 0x414937
push 1
movzx eax, ax
push 1
lea ecx, [esp + 0x30]
push ecx
lea ecx, [edi + 0xc]
mov dword [esp + 0x34], eax
call fcn.00416730
movzx eax, word [esi + 0x90]
movzx edx, al
cmp dx, ax
jne 0x4148b1
mov bl, byte [esi + 0x90]
jmp 0x4148b3
xor bl, bl
mov edx, dword [esp + 0x38]
cmp edx, 8
mov edi, edx
jge 0x4148c3
mov edi, 8
mov eax, dword [esp + 0x34]
lea ecx, [eax + 2]
cmp ecx, edi
jle 0x4148e8
add edi, edi
cmp ecx, edi
jle 0x4148e8
lea edi, [eax + 0xd]
mov ecx, edi
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x4148e6
dec ecx
or ecx, 0xfffffff8
inc ecx
sub edi, ecx
cmp edi, edx
jle 0x414906
mov edx, dword [esp + 0x30]
push edi
push edx
call fcn.00723dd8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x30]
mov byte [ecx + eax], bl
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x30]
mov ecx, esi
mov byte [edx + eax], 0
call fcn.00410740
cmp word [esi + 0x90], 0
mov edi, dword [esp + 0x20]
jne 0x414870
mov ecx, esi
call fcn.00410740
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x414952
mov dword [esp + 0x18], 0x8300e2
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00412da0
add esp, 8
test eax, eax
je 0x414d82
mov edx, dword [esp + 0x18]
xor eax, eax
cmp byte [edx], al
sete al
test eax, eax
je 0x414d82
mov eax, dword [esp + 0x28]
lea ecx, [edi + 0xc]
mov dword [edi + 8], eax
call fcn.004167d0
jmp 0x414d82
push 0x24
call fcn.00704930
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], 0xb
test eax, eax
je 0x4149b6
mov ecx, eax
call fcn.00416c60
jmp 0x4149b8
xor eax, eax
mov dword [esp + 0x48], 0xffffffff
push eax
mov ecx, esi
call fcn.00411fe0
mov edi, eax
mov ecx, 0x3f
xor eax, eax
lea edx, [esp + 0x2c]
mov word [esp + 0x2c], cx
push edx
lea ecx, [esi + 0xa0]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call fcn.00411010
mov ecx, esi
test eax, eax
je 0x414a11
mov ebx, dword [ebp + 8]
push ebx
call fcn.00414230
mov dword [edi + 0x18], eax
jmp 0x414bd6
call fcn.00410740
mov eax, dword [esi + 0x98]
push 0xc
mov dword [esp + 0x1c], eax
call fcn.00704930
mov ebx, eax
add esp, 4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], 0xc
test ebx, ebx
je 0x414a55
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push 1
push edx
mov ecx, esi
call fcn.004107f0
push eax
mov ecx, ebx
call fcn.004168c0
jmp 0x414a57
xor eax, eax
mov dword [esp + 0x48], 0xffffffff
push eax
mov ecx, esi
call fcn.00411fe0
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x414a76
mov eax, 0x8300e0
mov ecx, dword [esi + 0x98]
mov ebx, dword [esp + 0x18]
push 1
sub ecx, ebx
push ecx
lea edx, [eax + ebx*2]
push edx
lea ecx, [edi + 8]
call fcn.00416730
lea ecx, [esp + 0x2c]
call fcn.00413240
mov dword [esp + 0x48], 0xd
cmp ebx, dword [esi + 0x98]
jge 0x414b56
mov edi, edi
mov eax, dword [esp + 0x18]
cmp eax, dword [esi + 0x7c]
jl 0x414abd
xor eax, eax
jmp 0x414ac4
mov ecx, dword [esi + 0x78]
movzx eax, word [ecx + eax*2]
mov ecx, dword [esp + 0x38]
mov edx, 0xff
and dx, ax
cmp dx, ax
setne bl
dec bl
and bl, al
cmp ecx, 8
mov edi, ecx
jge 0x414ae6
mov edi, 8
mov eax, dword [esp + 0x34]
lea edx, [eax + 2]
cmp edx, edi
jle 0x414b0b
add edi, edi
cmp edx, edi
jle 0x414b0b
lea edi, [eax + 0xd]
mov edx, edi
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x414b09
dec edx
or edx, 0xfffffff8
inc edx
sub edi, edx
cmp edi, ecx
jle 0x414b29
mov eax, dword [esp + 0x30]
push edi
push eax
call fcn.00723dd8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x30]
mov byte [ecx + eax], bl
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x30]
mov byte [edx + eax], 0
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [esi + 0x98]
mov dword [esp + 0x18], eax
jl 0x414ab0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x414b6a
mov dword [esp + 0x18], 0x8300e2
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00412da0
add esp, 8
test eax, eax
je 0x414ba3
mov edx, dword [esp + 0x18]
xor eax, eax
cmp byte [edx], al
sete al
test eax, eax
je 0x414ba3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov dword [eax + 0x18], 0
jmp 0x414bb7
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esi + 0x64]
mov dword [eax + 4], 0xffffffff
call fcn.00416cd0
mov ecx, esi
call fcn.00410740
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00410da0
mov edi, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
mov edx, dword [ebx]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0x2c], edx
call fcn.00411910
mov dword [edi + 0x1c], eax
cmp word [esi + 0x90], 0x7c
jne 0x414c0e
mov ecx, esi
call fcn.00410740
mov ecx, dword [ebx]
push ecx
mov ecx, esi
call fcn.004107f0
mov dword [edi + 0x20], eax
jmp 0x41513d
mov dword [edi + 0x20], 0
jmp 0x41513d
test cx, cx
je 0x414c44
nop
movzx edx, word [esi + 0x90]
push edx
call fcn.0072456a
add esp, 4
test eax, eax
je 0x414c44
mov ecx, esi
call fcn.00410740
cmp word [esi + 0x90], di
jne 0x414c20
movzx eax, word [esi + 0x90]
cmp ax, 0x30
jb 0x414da1
cmp ax, 0x39
ja 0x414da1
lea ecx, [esp + 0x2c]
call fcn.00413240
mov dword [esp + 0x48], 0xe
cmp word [esi + 0x90], 0
je 0x414d21
movzx eax, word [esi + 0x90]
cmp ax, 0x29
je 0x414d21
movzx ecx, al
cmp cx, ax
jne 0x414c9f
mov bl, byte [esi + 0x90]
jmp 0x414ca1
xor bl, bl
mov edx, dword [esp + 0x38]
cmp edx, 8
mov edi, edx
jge 0x414cb1
mov edi, 8
mov eax, dword [esp + 0x34]
lea ecx, [eax + 2]
cmp ecx, edi
jle 0x414cd6
add edi, edi
cmp ecx, edi
jle 0x414cd6
lea edi, [eax + 0xd]
mov ecx, edi
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x414cd4
dec ecx
or ecx, 0xfffffff8
inc ecx
sub edi, ecx
cmp edi, edx
jle 0x414cf4
mov edx, dword [esp + 0x30]
push edi
push edx
call fcn.00723dd8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x30]
mov byte [ecx + eax], bl
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x30]
mov ecx, esi
mov byte [edx + eax], 0
call fcn.00410740
cmp word [esi + 0x90], 0
jne 0x414c7e
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
test eax, eax
jne 0x414d3d
mov dword [esp + 0x20], 0x8300e2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00412da0
push 0x1c
call fcn.00704930
add esp, 0xc
mov dword [esp + 0x28], eax
mov byte [esp + 0x48], 0xf
test eax, eax
je 0x414d71
mov edx, dword [esp + 0x1c]
push edx
mov ecx, eax
call fcn.00416b90
jmp 0x414d73
xor eax, eax
mov byte [esp + 0x48], 0xe
push eax
mov ecx, esi
call fcn.00411fe0
mov edi, eax
push edi
lea ecx, [esi + 0x34]
call fcn.00416c10
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00410da0
jmp 0x41513d
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov ebx, 1
nop
cmp word [esi + 0x90], 0
jne 0x414dc6
cmp dword [esi + 0x94], ebx
je 0x414e5c
movzx ecx, word [esi + 0x90]
cmp cx, 0x3a
je 0x414e5c
cmp cx, 0x29
je 0x414e5c
cmp word [esi + 0x90], 0x28
jne 0x414df3
cmp dword [esi + 0x94], ebx
je 0x414e5c
movzx ecx, cx
add ecx, 0xffffffd3
xor eax, eax
cmp ecx, 0x46
ja case.0x414e07.46
movzx edx, byte [ecx + 0x4151cc]
jmp dword [edx*4 + 0x4151b4]
mov eax, 8
test edi, edi
je 0x414e4c
not eax
and dword [esp + 0x14], eax
mov ecx, esi
call fcn.00410740
jmp 0x414db0
mov eax, ebx
jmp case.0x414e07.46
mov eax, 2
jmp case.0x414e07.46
mov eax, 4
jmp case.0x414e07.46
not eax
and dword [esp + 0x14], eax
mov ecx, esi
mov edi, ebx
call fcn.00410740
jmp 0x414db0
or dword [esp + 0x14], eax
mov ecx, esi
call fcn.00410740
jmp 0x414db0
movzx eax, word [esi + 0x90]
cmp ax, 0x3a
je 0x414e9a
cmp word [esi + 0x90], 0x28
jne 0x414e7b
cmp dword [esi + 0x94], ebx
je 0x414e94
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
push 0
mov ecx, esi
call fcn.00411ae0
mov edi, eax
jmp 0x41513d
cmp ax, 0x3a
jne 0x414ea1
mov ecx, esi
call fcn.00410740
mov edx, dword [esp + 0x14]
push edx
mov ecx, esi
call fcn.004107f0
mov edi, eax
jmp 0x41513d
push 0x18
call fcn.00704930
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], 0x10
test eax, eax
je 0x414ee2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
and edx, 0x10
push edx
mov ecx, eax
call fcn.00412890
mov edi, eax
jmp 0x414ee4
xor edi, edi
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esi + 0x20]
cmp dword [esi + 0x1c], eax
jl 0x414f1b
lea ebx, [eax + eax]
cmp ebx, 8
jge 0x414f01
mov ebx, 8
mov ecx, dword [esi + 0x18]
lea eax, [ebx*4]
push eax
push ecx
call fcn.00723dd8
add esp, 8
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ebx
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov dword [eax + edx*4], edi
mov eax, 1
add dword [esi + 0x1c], eax
add dword [esi + 8], eax
mov ebx, dword [esi + 8]
push 0x1c
mov dword [esp + 0x18], ebx
call fcn.00704930
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], 0x11
test eax, eax
je 0x414f6c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
shr edx, 4
and edx, 1
push edx
push ebx
mov ecx, eax
call fcn.00416930
mov ebx, eax
mov dword [esp + 0x20], eax
jmp 0x414f72
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esi + 0x20]
cmp dword [esi + 0x1c], eax
jl 0x414fb7
add eax, eax
cmp eax, 8
mov dword [esp + 0x18], eax
jge 0x414f95
mov dword [esp + 0x18], 8
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x18]
lea ecx, [eax*4]
push ecx
push edx
call fcn.00723dd8
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x20]
add esp, 8
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
mov dword [edx + ecx*4], ebx
inc dword [esi + 0x1c]
mov eax, dword [edi + 0x10]
cmp dword [edi + 0xc], eax
jl 0x414ff6
lea ebx, [eax + eax]
cmp ebx, 8
jge 0x414fd8
mov ebx, 8
mov ecx, dword [edi + 8]
lea eax, [ebx*4]
push eax
push ecx
call fcn.00723dd8
mov dword [edi + 0x10], ebx
mov ebx, dword [esp + 0x28]
add esp, 8
mov dword [edi + 8], eax
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov ecx, dword [ebp + 8]
mov dword [eax + edx*4], ebx
inc dword [edi + 0xc]
mov edx, dword [ecx]
push edx
mov ecx, esi
call fcn.004107f0
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x10]
cmp dword [edi + 0xc], eax
jl 0x415042
lea ebx, [eax + eax]
cmp ebx, 8
jge 0x415028
mov ebx, 8
mov ecx, dword [edi + 8]
lea eax, [ebx*4]
push eax
push ecx
call fcn.00723dd8
add esp, 8
mov dword [edi + 8], eax
mov dword [edi + 0x10], ebx
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x28]
mov dword [eax + edx*4], ecx
inc dword [edi + 0xc]
push 0x1c
call fcn.00704930
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], 0x12
test eax, eax
je 0x41508e
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov edx, dword [esp + 0x14]
shr ecx, 4
not ecx
and ecx, 1
push ecx
push edx
mov ecx, eax
call fcn.00416930
mov ebx, eax
mov dword [esp + 0x20], eax
jmp 0x415094
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esi + 0x20]
cmp dword [esi + 0x1c], eax
jl 0x4150d9
add eax, eax
cmp eax, 8
mov dword [esp + 0x18], eax
jge 0x4150b7
mov dword [esp + 0x18], 8
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x18]
lea ecx, [eax*4]
push ecx
push edx
call fcn.00723dd8
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x20]
add esp, 8
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
mov dword [edx + ecx*4], ebx
inc dword [esi + 0x1c]
mov eax, dword [edi + 0x10]
cmp dword [edi + 0xc], eax
jl 0x415118
lea ebx, [eax + eax]
cmp ebx, 8
jge 0x4150fa
mov ebx, 8
mov ecx, dword [edi + 8]
lea eax, [ebx*4]
push eax
push ecx
call fcn.00723dd8
mov dword [edi + 0x10], ebx
mov ebx, dword [esp + 0x28]
add esp, 8
mov dword [edi + 8], eax
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 8]
push 0
push ecx
mov dword [eax + edx*4], ebx
inc dword [edi + 0xc]
lea ecx, [esi + 0x24]
call fcn.004105e0
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 0x14]
mov dword [edx + eax*4], edi
mov ecx, esi
call fcn.00410740
mov eax, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4