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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x238
mov esi, esp
mov dword [esi + 0x220], ebp
lea ebx, [esi + 0x228]
mov dword [ebx - 4], esp
xor eax, eax
dec eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], 0x421060
mov eax, dword fs:[0]
mov dword [ebx], eax
mov dword fs:[0], ebx
mov eax, 0x190
lea edi, [esi + 0x90]
push eax
push 0xff
push edi
call fcn.00512f00
add esp, 0xc
mov dword [esi + 0x48], edi
mov dword [esi + 0x14], edi
mov eax, 0x190
add edi, eax
mov dword [esi + 0x5c], edi
xor eax, eax
dec eax
mov dword [esi + 0x58], eax
lea ecx, [esi + 0x52]
mov word [ecx], ax
lea ecx, [esi + 0x50]
mov word [ecx], ax
lea ecx, [esi + 0x54]
mov dword [ecx], eax
mov dword [esi + 0x4c], fcn.004028c0
mov dword [ebx + 8], 1
xor ebx, ebx
lea edx, [esi + 0x78]
mov dword [edx + 4], ebx
mov dword [edx], ebx
mov dword [edx + 8], ebx
lea edi, [esi + 0x18]
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov dword [edi + 8], ebx
lea ecx, [esi + 0x38]
mov dword [ecx + 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 8], ebx
lea eax, [esi + 0x28]
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
movzx ebx, byte [ebp + 0x10]
mov dword [esi], ebx
lea ebx, [esi + 0x54]
push ebx
push eax
push ecx
push edi
push edx
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 0x52]
push eax
lea eax, [esi + 0x58]
push eax
push dword [ebp + 0x14]
push dword [esi]
call fcn.0041ef3c
add esp, 0x28
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ecx], eax
shr edx, 9
and edx, 1
mov dword [esi + 0x88], edx
mov ecx, dword [ebp + 0xc]
xor eax, eax
xor edi, edi
mov dword [esi + 8], eax
cmp edi, 3
ja 0x41ece0
mov dword [esi + 0xc], edi
mov dword [esi], ecx
mov dword [esi + 0x230], 1
mov ecx, dword [ebp + 8]
call fcn.004206c2
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x41e400
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e3e1
movzx eax, word [eax]
jmp 0x41e3ee
mov eax, dword [ecx]
mov byte [esi + 4], dl
call dword [eax + 0x20]
mov dl, byte [esi + 4]
mov ecx, dword [esi]
cmp ax, 0xffff
je 0x41e400
test dl, dl
mov edi, dword [esi + 0xc]
jne 0x41e40d
jmp 0x41ece0
xor ecx, ecx
test dl, dl
mov edi, dword [esi + 0xc]
jne 0x41ece0
movsx eax, byte [esi + edi + 0x58]
cmp eax, 4
ja case.default.0x41e41d
mov dword [esi], ecx
jmp dword [eax*4 + 0x41ef28]
cmp edi, 3
jne 0x41e77f
jmp 0x41e6da
cmp edi, 3
jne 0x41e632
mov eax, dword [esi + 8]
jmp 0x41ecd8
cmp dword [esi + 8], 0
jne 0x41e64b
cmp edi, 2
jb 0x41e64b
sete al
cmp byte [esi + 0x5b], 0
setne cl
and cl, al
or cl, byte [esi + 0x88]
cmp cl, 1
jne 0x41e70f
mov al, byte [esi + 0x18]
test al, 1
mov ecx, dword [esi + 0x20]
mov ebx, ecx
lea edx, [esi + 0x1a]
cmove ebx, edx
jmp 0x41e663
movzx ecx, byte [esi + 0x38]
mov ebx, ecx
and bl, 1
mov dword [esi + 4], ecx
je 0x41e6be
mov ecx, dword [esi + 0x3c]
jmp 0x41e6c0
mov dword [esi + 4], 0
mov ecx, dword [ebp + 8]
call fcn.004206c2
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x41e4e0
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e4c4
movzx eax, word [eax]
jmp 0x41e4d1
mov eax, dword [ecx]
mov byte [esi + 0x10], dl
call dword [eax + 0x20]
mov dl, byte [esi + 0x10]
mov ecx, dword [esi]
cmp ax, 0xffff
je 0x41e4e0
test dl, dl
jne 0x41e4ea
jmp 0x41e5c5
xor ecx, ecx
test dl, dl
jne 0x41e5c5
mov dword [esi], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e4fe
movzx edx, word [eax]
jmp 0x41e505
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edx, eax
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx]
mov word [esi + 0x10], dx
movzx edx, dx
push edx
push 4
call dword [eax + 0xc]
test al, al
je 0x41e54d
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
cmp eax, dword [ebp + 0x30]
jne 0x41e53a
lea eax, [ebp + 0x30]
push eax
push ecx
push dword [ebp + 0x28]
call fcn.0041f052
add esp, 0xc
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
mov edx, ecx
lea ecx, [eax + 2]
mov dword [edx], ecx
movzx ecx, word [esi + 0x10]
mov word [eax], cx
inc dword [esi + 4]
jmp 0x41e5a3
movzx eax, byte [esi + 0x78]
test al, 1
je 0x41e55a
mov eax, dword [esi + 0x7c]
jmp 0x41e55c
shr eax, 1
movzx edx, word [esi + 0x10]
cmp dword [esi + 4], 0
mov ecx, dword [esi]
je 0x41e5c5
test eax, eax
je 0x41e5c5
cmp dx, word [esi + 0x50]
jne 0x41e5c5
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x5c]
jne 0x41e591
lea eax, [esi + 0x5c]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.0041e217
add esp, 0xc
mov eax, dword [esi + 0x14]
lea ecx, [eax + 4]
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 4]
mov dword [eax], ecx
mov dword [esi + 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e5bb
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x41e4a7
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41e4a7
cmp dword [esi + 4], 0
je 0x41e5fe
mov eax, dword [esi + 0x14]
cmp dword [esi + 0x48], eax
je 0x41e5fe
cmp eax, dword [esi + 0x5c]
jne 0x41e5f3
mov dword [esi], ecx
lea eax, [esi + 0x5c]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.0041e217
add esp, 0xc
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
lea edx, [eax + 4]
mov dword [esi + 0x14], edx
mov edx, dword [esi + 4]
mov dword [eax], edx
cmp dword [esi + 0x54], 0
jle 0x41e974
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
call fcn.004206c2
mov ebx, eax
mov edx, dword [esi]
test edx, edx
je 0x41e716
mov eax, dword [edx + 0xc]
cmp eax, dword [edx + 0x10]
je 0x41e823
movzx eax, word [eax]
jmp 0x41e832
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e725
movzx eax, word [eax]
jmp 0x41e72a
mov al, byte [esi + 0x18]
test al, 1
mov ecx, dword [esi + 0x20]
mov ebx, ecx
lea edx, [esi + 0x1a]
cmove ebx, edx
test edi, edi
je 0x41ea3b
lea edx, [esi + 0x58]
cmp byte [edi + edx - 1], 1
ja 0x41ea3b
mov dword [esi + 4], ebx
mov edx, eax
and dl, 1
je 0x41e682
mov edi, dword [esi + 0x1c]
mov ebx, ecx
jmp 0x41e68c
mov ah, al
shr ah, 1
movzx edi, ah
lea ebx, [esi + 0x1a]
lea edi, [ebx + edi*2]
mov ebx, dword [esi + 4]
cmp ebx, edi
je 0x41e99a
movzx eax, word [ebx]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
push eax
push 8
call dword [edx + 0xc]
mov ebx, dword [esi + 4]
test al, al
je 0x41e98f
add ebx, 2
mov al, byte [esi + 0x18]
mov ecx, dword [esi + 0x20]
jmp 0x41e671
shr ecx, 1
movzx edx, byte [esi + 0x28]
mov bh, dl
and bh, 1
je 0x41e6d0
mov edi, dword [esi + 0x2c]
jmp 0x41e6d4
mov edi, edx
shr edi, 1
mov eax, ecx
add eax, edi
jne 0x41e6e4
mov eax, dword [esi + 8]
mov ecx, dword [esi]
jmp 0x41e81b
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x41e758
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
test edi, edi
je 0x41eb2e
cmp edx, eax
je 0x41eb3e
movzx eax, word [edx]
mov word [esi + 0x24], ax
jmp 0x41eb52
xor eax, eax
jmp 0x41ecd8
xor edx, edx
test bl, bl
je 0x41e849
jmp 0x41edf6
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x41edf6
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e76e
lea edx, [eax + 2]
mov dword [ecx + 0xc], edx
movzx eax, word [eax]
jmp 0x41e773
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41eb98
movzx eax, word [eax]
jmp 0x41eba5
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx eax, ax
lea ecx, [esi + 0x60]
push eax
call fcn.00422830
mov ecx, dword [ebp + 8]
call fcn.004206c2
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x41e7b5
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e79c
movzx eax, word [eax]
jmp 0x41e7a9
mov eax, dword [ecx]
mov byte [esi + 4], dl
call dword [eax + 0x20]
mov dl, byte [esi + 4]
mov ecx, dword [esi]
cmp ax, 0xffff
je 0x41e7b5
test dl, dl
jne 0x41e7bb
jmp 0x41e818
xor ecx, ecx
test dl, dl
jne 0x41e818
mov dword [esi], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e7cf
movzx eax, word [eax]
jmp 0x41e7d4
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x41e6da
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e802
lea edx, [eax + 2]
mov dword [ecx + 0xc], edx
movzx eax, word [eax]
jmp 0x41e807
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx eax, ax
lea ecx, [esi + 0x60]
push eax
call fcn.00422830
jmp 0x41e77f
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
jmp 0x41ecda
mov eax, dword [edx]
mov ecx, edx
mov byte [esi + 4], bl
call dword [eax + 0x20]
mov bl, byte [esi + 4]
mov edx, dword [esi]
cmp ax, 0xffff
sete al
mov ecx, 0
cmove edx, ecx
cmp bl, al
je 0x41edf6
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
mov dword [esi], edx
je 0x41e85d
movzx eax, word [eax]
jmp 0x41e862
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp ax, word [esi + 0x52]
jne 0x41edf6
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e968
add eax, 2
mov dword [ecx + 0xc], eax
cmp dword [esi + 0x54], 0
jle 0x41e972
mov ecx, dword [ebp + 8]
call fcn.004206c2
mov ebx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x41e8aa
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e8b9
movzx eax, word [eax]
jmp 0x41e8c6
mov dword [esi], 0
test bl, bl
je 0x41e8dd
jmp 0x41edf6
mov eax, dword [ecx]
mov byte [esi + 4], bl
call dword [eax + 0x20]
mov bl, byte [esi + 4]
mov ecx, dword [esi]
xor edx, edx
cmp ax, 0xffff
sete al
je 0x41e8d3
mov edx, ecx
mov dword [esi], edx
cmp bl, al
je 0x41edf6
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e8ef
movzx eax, word [eax]
jmp 0x41e8f4
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 4
call dword [edx + 0xc]
test al, al
je 0x41edf6
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x30]
jne 0x41e926
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
call fcn.0041f052
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e938
movzx eax, word [eax]
jmp 0x41e93d
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, dword [ebp + 0x2c]
mov ecx, dword [edi]
lea edx, [ecx + 2]
mov dword [edi], edx
mov word [ecx], ax
dec dword [esi + 0x54]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x41e87d
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41e883
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41e883
mov ecx, dword [esi]
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x28]
cmp eax, dword [edx]
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
jne 0x41ecda
jmp 0x41edf6
mov al, byte [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, eax
and dl, 1
test dl, dl
mov edi, ecx
lea edx, [esi + 0x1a]
cmove edi, edx
mov dword [esi + 0x6c], edi
sub ebx, edi
sar ebx, 1
movzx edx, byte [esi + 0x60]
mov edi, edx
shr edi, 1
mov dword [esi + 0x10], edx
test dl, 1
mov edx, edi
mov edi, dword [esi + 0x64]
mov dword [esi + 0x24], edi
mov dword [esi + 0x74], edx
cmove edi, edx
cmp ebx, edi
jbe 0x41e9d0
mov ebx, dword [esi + 0x6c]
jmp 0x41ea3b
test byte [esi + 0x10], 1
mov edx, dword [esi + 0x68]
mov dword [esi + 0x70], edx
mov edi, dword [esi + 0x24]
lea edx, [edx + edi*2]
mov dword [esi + 0x84], edx
mov edx, dword [esi + 0x74]
lea edx, [esi + edx*2 + 0x62]
mov dword [esi + 0x10], edx
mov edx, dword [esi + 0x10]
cmovne edx, dword [esi + 0x84]
mov dword [esi + 0x10], edx
cmove edi, dword [esi + 0x74]
mov dword [esi + 0x24], edi
lea edx, [esi + 0x62]
mov edi, dword [esi + 0x70]
cmove edi, edx
mov dword [esi + 0x70], edi
mov edx, dword [esi + 0x70]
mov edi, dword [esi + 0x24]
lea edx, [edx + edi*2]
add ebx, ebx
sub edx, ebx
cmp edx, dword [esi + 0x10]
je 0x41ea38
mov ebx, dword [esi + 0x6c]
movzx edi, word [edx]
cmp di, word [ebx]
jne 0x41e9cb
add edx, 2
add ebx, 2
cmp edx, dword [esi + 0x10]
jne 0x41ea25
mov ebx, dword [esi + 4]
test al, 1
je 0x41ea44
mov eax, dword [esi + 0x1c]
jmp 0x41ea4c
shr al, 1
movzx eax, al
lea ecx, [esi + 0x1a]
lea eax, [ecx + eax*2]
cmp ebx, eax
je 0x41eaf2
mov dword [esi + 0x230], 1
mov ecx, dword [ebp + 8]
mov dword [esi + 4], ebx
call fcn.004206c2
mov ebx, dword [esi + 4]
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x41eaa0
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41ea84
movzx eax, word [eax]
jmp 0x41ea94
mov eax, dword [ecx]
mov byte [esi + 0x10], dl
call dword [eax + 0x20]
mov dl, byte [esi + 0x10]
mov ebx, dword [esi + 4]
mov ecx, dword [esi]
cmp ax, 0xffff
je 0x41eaa0
test dl, dl
jne 0x41eaa6
jmp 0x41eaf4
xor ecx, ecx
test dl, dl
jne 0x41eaf4
mov dword [esi], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41eaba
movzx eax, word [eax]
jmp 0x41eac2
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ebx, dword [esi + 4]
cmp ax, word [ebx]
jne 0x41eaf2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41eadc
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x41eae4
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ebx, dword [esi + 4]
add ebx, 2
mov al, byte [esi + 0x18]
mov ecx, dword [esi + 0x20]
jmp 0x41ea3b
mov ecx, dword [esi]
bt dword [ebp + 0x18], 9
mov edi, dword [esi + 0xc]
jb 0x41eb06
mov eax, dword [esi + 8]
jmp 0x41ecda
movzx eax, byte [esi + 0x18]
test al, 1
je 0x41eb16
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
jmp 0x41eb1b
shr eax, 1
lea edx, [esi + 0x1a]
lea eax, [edx + eax*2]
cmp ebx, eax
mov eax, dword [esi + 8]
je 0x41ecda
jmp 0x41edf6
cmp edx, eax
je 0x41ebd4
movzx ecx, word [edx]
jmp 0x41ebe6
mov eax, dword [ecx]
call dword [eax + 0x20]
mov word [esi + 0x24], ax
mov al, byte [esi + 0x38]
mov dword [esi + 4], eax
mov ebx, eax
and bl, 1
lea edx, [esi + 0x3a]
test bl, bl
je 0x41eb5c
mov edx, dword [esi + 0x40]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edi, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x10], eax
movzx eax, word [esi + 0x24]
cmp ax, word [edx]
jne 0x41eb87
cmp edi, dword [esi + 0x10]
je 0x41ec1f
add edi, 2
mov dword [ecx + 0xc], edi
jmp 0x41ec0c
cmp edi, dword [esi + 0x10]
je 0x41ec29
movzx eax, word [edi]
jmp 0x41ec2e
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dl, byte [esi + 0x28]
mov bh, dl
and bh, 1
lea ecx, [esi + 0x2a]
test bh, bh
je 0x41ebaf
mov ecx, dword [esi + 0x30]
cmp ax, word [ecx]
jne 0x41e6da
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41ec7a
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x41ec87
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, eax
mov al, byte [esi + 0x38]
mov dword [esi + 4], eax
mov ebx, eax
and bl, 1
lea edx, [esi + 0x3a]
test bl, bl
je 0x41ebf0
mov edx, dword [esi + 0x40]
cmp cx, word [edx]
jne 0x41ec14
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
cmp edx, dword [ecx + 0x10]
je 0x41ecae
add edx, 2
mov dword [ecx + 0xc], edx
mov eax, dword [esi + 4]
jmp 0x41ecbb
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
jmp 0x41e6da
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41ecb3
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dl, byte [esi + 0x28]
mov dh, dl
lea ecx, [esi + 0x2a]
and dh, 1
je 0x41ec3e
mov ecx, dword [esi + 0x30]
cmp ax, word [ecx]
jne 0x41edf6
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41ec5c
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x41ec69
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dl, byte [esi + 0x28]
mov dh, dl
and dh, 1
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
test dh, dh
jne 0x41ec91
shr dl, 1
movzx eax, dl
jmp 0x41ec9b
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dl, byte [esi + 0x28]
mov bh, dl
and bh, 1
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
test bh, bh
je 0x41ec96
mov eax, dword [esi + 0x2c]
jmp 0x41ec9b
shr dl, 1
movzx eax, dl
mov ecx, dword [esi]
mov edi, dword [esi + 0xc]
cmp eax, 1
mov eax, dword [esi + 8]
lea edx, [esi + 0x28]
cmova eax, edx
jmp 0x41ecda
mov eax, dword [ecx]
call dword [eax + 0x24]
mov al, byte [esi + 0x38]
mov ebx, eax
and bl, 1
test bl, bl
je 0x41ecc4
mov eax, dword [esi + 0x3c]
jmp 0x41ecc9
shr al, 1
movzx eax, al
mov edi, dword [esi + 0xc]
cmp eax, 1
mov eax, dword [esi + 8]
lea ecx, [esi + 0x38]
cmova eax, ecx
mov ecx, dword [esi]
inc edi
jmp 0x41e3a9
mov dword [esi], ecx
cmp dword [esi + 8], 0
je 0x41edca
mov eax, dword [esi + 8]
add eax, 2
mov dword [esi + 0x10], eax
xor edi, edi
inc edi
mov ecx, dword [esi + 8]
movzx eax, byte [ecx]
test al, 1
jne 0x41ed06
shr eax, 1
jmp 0x41ed09
mov eax, dword [ecx + 4]
cmp edi, eax
jae 0x41edca
mov dword [esi + 0x230], 1
mov ecx, dword [ebp + 8]
mov dword [esi + 4], edi
call fcn.004206c2
mov edi, dword [esi + 4]
mov ebx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x41ed3e
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41ed49
movzx eax, word [eax]
jmp 0x41ed59
xor edx, edx
test bl, bl
je 0x41ed6e
jmp 0x41edf6
mov eax, dword [ecx]
mov byte [esi + 0xc], bl
call dword [eax + 0x20]
mov bl, byte [esi + 0xc]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
xor edx, edx
cmp ax, 0xffff
sete al
je 0x41ed66
mov edx, ecx
cmp bl, al
je 0x41edf6
mov dword [esi], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41ed82
movzx eax, word [eax]
jmp 0x41ed8a
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
test byte [ecx], 1
mov ecx, dword [esi + 0x10]
je 0x41ed9b
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 8]
cmp ax, word [ecx + edi*2]
jne 0x41edf6
inc edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41edba
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x41ecf8
mov eax, dword [ecx]
mov dword [esi + 4], edi
call dword [eax + 0x24]
mov edi, dword [esi + 4]
jmp 0x41ecf8
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x14]
mov bl, 1
cmp eax, ecx
je 0x41edfe
lea edi, [esi + 0x8c]
mov dword [edi], 0
push edi
push ecx
push eax
lea eax, [esi + 0x78]
push eax
call fcn.0040fb8a
add esp, 0x10
cmp dword [edi], 0
je 0x41edfe
mov eax, dword [ebp + 0x1c]
or byte [eax], 4
xor ebx, ebx
test byte [esi + 0x60], 1
je 0x41ee0f
push dword [esi + 0x68]
call fcn.0050f3dd
add esp, 4
test byte [esi + 0x28], 1
je 0x41ee20
push dword [esi + 0x30]
call fcn.0050f3dd
add esp, 4
test byte [esi + 0x38], 1
je 0x41ee31
push dword [esi + 0x40]
call fcn.0050f3dd
add esp, 4
test byte [esi + 0x18], 1
je 0x41ee42
push dword [esi + 0x20]
call fcn.0050f3dd
add esp, 4
test byte [esi + 0x78], 1
je 0x41ee56
push dword [esi + 0x80]
call fcn.0050f3dd
add esp, 4
mov eax, dword [esi + 0x48]
mov dword [esi + 0x48], 0
test eax, eax
je 0x41ee79
mov dword [esi + 0x230], 0
push eax
mov dword [esi], ebx
call dword [esi + 0x4c]
mov ebx, dword [esi]
add esp, 4
mov eax, dword [esi + 0x228]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret