Function at 0x41da30
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], 0x4207b0
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.00516da0
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.00402910
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.0041e6cc
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 0x41e46e
mov dword [esi + 0xc], edi
mov dword [esi], ecx
mov dword [esi + 0x230], 1
mov ecx, dword [ebp + 8]
call fcn.0041fda4
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x41db90
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41db71
movzx eax, word [eax]
jmp 0x41db7e
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 0x41db90
test dl, dl
mov edi, dword [esi + 0xc]
jne 0x41db9d
jmp 0x41e46e
xor ecx, ecx
test dl, dl
mov edi, dword [esi + 0xc]
jne 0x41e46e
movsx eax, byte [esi + edi + 0x58]
cmp eax, 4
ja case.default.0x41dbad
mov dword [esi], ecx
jmp dword [eax*4 + 0x41e6b8]
cmp edi, 3
jne 0x41df0d
jmp 0x41de68
cmp edi, 3
jne 0x41ddc0
mov eax, dword [esi + 8]
jmp 0x41e466
cmp dword [esi + 8], 0
jne 0x41ddd9
cmp edi, 2
jb 0x41ddd9
sete al
cmp byte [esi + 0x5b], 0
setne cl
and cl, al
or cl, byte [esi + 0x88]
cmp cl, 1
jne 0x41de9d
mov al, byte [esi + 0x18]
test al, 1
mov ecx, dword [esi + 0x20]
mov ebx, ecx
lea edx, [esi + 0x1a]
cmove ebx, edx
jmp 0x41ddf1
movzx ecx, byte [esi + 0x38]
mov ebx, ecx
and bl, 1
mov dword [esi + 4], ecx
je 0x41de4c
mov ecx, dword [esi + 0x3c]
jmp 0x41de4e
mov dword [esi + 0x10], 0
mov ecx, dword [ebp + 8]
call fcn.0041fda4
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x41dc70
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41dc54
movzx eax, word [eax]
jmp 0x41dc61
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 0x41dc70
test dl, dl
jne 0x41dc7a
jmp 0x41dd53
xor ecx, ecx
test dl, dl
jne 0x41dd53
mov dword [esi], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41dc8e
movzx eax, word [eax]
jmp 0x41dc93
mov eax, dword [ecx]
call dword [eax + 0x20]
mov word [esi + 4], ax
mov ecx, dword [ebp + 0x24]
mov edi, dword [ecx]
movzx edx, ax
push edx
push 4
call dword [edi + 0xc]
movzx edi, word [esi + 4]
test al, al
je 0x41dcdf
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
cmp eax, dword [ebp + 0x30]
jne 0x41dcd0
lea eax, [ebp + 0x30]
push eax
push ecx
push dword [ebp + 0x28]
call fcn.0041e830
movzx edi, word [esi + 4]
add esp, 0xc
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
mov edx, ecx
lea ecx, [eax + 2]
mov dword [edx], ecx
mov word [eax], di
inc dword [esi + 0x10]
jmp 0x41dd31
movzx eax, byte [esi + 0x78]
test al, 1
je 0x41dcec
mov eax, dword [esi + 0x7c]
jmp 0x41dcee
shr eax, 1
cmp di, word [esi + 0x50]
mov ecx, dword [esi]
jne 0x41dd53
cmp dword [esi + 0x10], 0
je 0x41dd53
test eax, eax
je 0x41dd53
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x5c]
jne 0x41dd1f
lea eax, [esi + 0x5c]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.0041d9af
add esp, 0xc
mov eax, dword [esi + 0x14]
lea ecx, [eax + 4]
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
mov dword [esi + 0x10], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41dd49
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x41dc37
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41dc37
cmp dword [esi + 0x10], 0
je 0x41dd8c
mov eax, dword [esi + 0x14]
cmp dword [esi + 0x48], eax
je 0x41dd8c
cmp eax, dword [esi + 0x5c]
jne 0x41dd81
mov dword [esi], ecx
lea eax, [esi + 0x5c]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.0041d9af
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 + 0x10]
mov dword [eax], edx
cmp dword [esi + 0x54], 0
jle 0x41e102
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
call fcn.0041fda4
mov ebx, eax
mov edx, dword [esi]
test edx, edx
je 0x41dea4
mov eax, dword [edx + 0xc]
cmp eax, dword [edx + 0x10]
je 0x41dfb1
movzx eax, word [eax]
jmp 0x41dfc0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41deb3
movzx eax, word [eax]
jmp 0x41deb8
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 0x41e1c9
lea edx, [esi + 0x58]
cmp byte [edi + edx - 1], 1
ja 0x41e1c9
mov dword [esi + 4], ebx
mov edx, eax
and dl, 1
je 0x41de10
mov edi, dword [esi + 0x1c]
mov ebx, ecx
jmp 0x41de1a
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 0x41e128
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 0x41e11d
add ebx, 2
mov al, byte [esi + 0x18]
mov ecx, dword [esi + 0x20]
jmp 0x41ddff
shr ecx, 1
movzx edx, byte [esi + 0x28]
mov bh, dl
and bh, 1
je 0x41de5e
mov edi, dword [esi + 0x2c]
jmp 0x41de62
mov edi, edx
shr edi, 1
mov eax, ecx
add eax, edi
jne 0x41de72
mov eax, dword [esi + 8]
mov ecx, dword [esi]
jmp 0x41dfa9
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x41dee6
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
test edi, edi
je 0x41e2bc
cmp edx, eax
je 0x41e2cc
movzx eax, word [edx]
mov word [esi + 0x24], ax
jmp 0x41e2e0
xor eax, eax
jmp 0x41e466
xor edx, edx
test bl, bl
je 0x41dfd7
jmp 0x41e584
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 0x41e584
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41defc
lea edx, [eax + 2]
mov dword [ecx + 0xc], edx
movzx eax, word [eax]
jmp 0x41df01
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e326
movzx eax, word [eax]
jmp 0x41e333
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx eax, ax
lea ecx, [esi + 0x60]
push eax
call fcn.00421cb0
mov ecx, dword [ebp + 8]
call fcn.0041fda4
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x41df43
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41df2a
movzx eax, word [eax]
jmp 0x41df37
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 0x41df43
test dl, dl
jne 0x41df49
jmp 0x41dfa6
xor ecx, ecx
test dl, dl
jne 0x41dfa6
mov dword [esi], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41df5d
movzx eax, word [eax]
jmp 0x41df62
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 0x41de68
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41df90
lea edx, [eax + 2]
mov dword [ecx + 0xc], edx
movzx eax, word [eax]
jmp 0x41df95
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx eax, ax
lea ecx, [esi + 0x60]
push eax
call fcn.00421cb0
jmp 0x41df0d
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
jmp 0x41e468
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 0x41e584
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
mov dword [esi], edx
je 0x41dfeb
movzx eax, word [eax]
jmp 0x41dff0
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp ax, word [esi + 0x52]
jne 0x41e584
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e0f6
add eax, 2
mov dword [ecx + 0xc], eax
cmp dword [esi + 0x54], 0
jle 0x41e100
mov ecx, dword [ebp + 8]
call fcn.0041fda4
mov ebx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x41e038
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e047
movzx eax, word [eax]
jmp 0x41e054
mov dword [esi], 0
test bl, bl
je 0x41e06b
jmp 0x41e584
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 0x41e061
mov edx, ecx
mov dword [esi], edx
cmp bl, al
je 0x41e584
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e07d
movzx eax, word [eax]
jmp 0x41e082
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 0x41e584
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x30]
jne 0x41e0b4
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
call fcn.0041e830
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e0c6
movzx eax, word [eax]
jmp 0x41e0cb
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 0x41e00b
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41e011
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41e011
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 0x41e468
jmp 0x41e584
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 0x41e15e
mov ebx, dword [esi + 0x6c]
jmp 0x41e1c9
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 0x41e1c6
mov ebx, dword [esi + 0x6c]
movzx edi, word [edx]
cmp di, word [ebx]
jne 0x41e159
add edx, 2
add ebx, 2
cmp edx, dword [esi + 0x10]
jne 0x41e1b3
mov ebx, dword [esi + 4]
test al, 1
je 0x41e1d2
mov eax, dword [esi + 0x1c]
jmp 0x41e1da
shr al, 1
movzx eax, al
lea ecx, [esi + 0x1a]
lea eax, [ecx + eax*2]
cmp ebx, eax
je 0x41e280
mov dword [esi + 0x230], 1
mov ecx, dword [ebp + 8]
mov dword [esi + 4], ebx
call fcn.0041fda4
mov ebx, dword [esi + 4]
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x41e22e
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e212
movzx eax, word [eax]
jmp 0x41e222
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 0x41e22e
test dl, dl
jne 0x41e234
jmp 0x41e282
xor ecx, ecx
test dl, dl
jne 0x41e282
mov dword [esi], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e248
movzx eax, word [eax]
jmp 0x41e250
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ebx, dword [esi + 4]
cmp ax, word [ebx]
jne 0x41e280
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e26a
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x41e272
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 0x41e1c9
mov ecx, dword [esi]
bt dword [ebp + 0x18], 9
mov edi, dword [esi + 0xc]
jb 0x41e294
mov eax, dword [esi + 8]
jmp 0x41e468
movzx eax, byte [esi + 0x18]
test al, 1
je 0x41e2a4
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
jmp 0x41e2a9
shr eax, 1
lea edx, [esi + 0x1a]
lea eax, [edx + eax*2]
cmp ebx, eax
mov eax, dword [esi + 8]
je 0x41e468
jmp 0x41e584
cmp edx, eax
je 0x41e362
movzx ecx, word [edx]
jmp 0x41e374
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 0x41e2ea
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 0x41e315
cmp edi, dword [esi + 0x10]
je 0x41e3ad
add edi, 2
mov dword [ecx + 0xc], edi
jmp 0x41e39a
cmp edi, dword [esi + 0x10]
je 0x41e3b7
movzx eax, word [edi]
jmp 0x41e3bc
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 0x41e33d
mov ecx, dword [esi + 0x30]
cmp ax, word [ecx]
jne 0x41de68
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e408
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x41e415
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 0x41e37e
mov edx, dword [esi + 0x40]
cmp cx, word [edx]
jne 0x41e3a2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
cmp edx, dword [ecx + 0x10]
je 0x41e43c
add edx, 2
mov dword [ecx + 0xc], edx
mov eax, dword [esi + 4]
jmp 0x41e449
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
jmp 0x41de68
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41e441
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dl, byte [esi + 0x28]
mov dh, dl
lea ecx, [esi + 0x2a]
and dh, 1
je 0x41e3cc
mov ecx, dword [esi + 0x30]
cmp ax, word [ecx]
jne 0x41e584
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e3ea
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x41e3f7
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 0x41e41f
shr dl, 1
movzx eax, dl
jmp 0x41e429
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 0x41e424
mov eax, dword [esi + 0x2c]
jmp 0x41e429
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 0x41e468
mov eax, dword [ecx]
call dword [eax + 0x24]
mov al, byte [esi + 0x38]
mov ebx, eax
and bl, 1
test bl, bl
je 0x41e452
mov eax, dword [esi + 0x3c]
jmp 0x41e457
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 0x41db39
mov dword [esi], ecx
cmp dword [esi + 8], 0
je 0x41e558
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 0x41e494
shr eax, 1
jmp 0x41e497
mov eax, dword [ecx + 4]
cmp edi, eax
jae 0x41e558
mov dword [esi + 0x230], 1
mov ecx, dword [ebp + 8]
mov dword [esi + 4], edi
call fcn.0041fda4
mov edi, dword [esi + 4]
mov ebx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x41e4cc
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e4d7
movzx eax, word [eax]
jmp 0x41e4e7
xor edx, edx
test bl, bl
je 0x41e4fc
jmp 0x41e584
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 0x41e4f4
mov edx, ecx
cmp bl, al
je 0x41e584
mov dword [esi], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e510
movzx eax, word [eax]
jmp 0x41e518
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 0x41e529
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 8]
cmp ax, word [ecx + edi*2]
jne 0x41e584
inc edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41e548
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x41e486
mov eax, dword [ecx]
mov dword [esi + 4], edi
call dword [eax + 0x24]
mov edi, dword [esi + 4]
jmp 0x41e486
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x14]
mov bl, 1
cmp eax, ecx
je 0x41e58c
lea edi, [esi + 0x8c]
mov dword [edi], 0
push edi
push ecx
push eax
lea eax, [esi + 0x78]
push eax
call fcn.0040f50a
add esp, 0x10
cmp dword [edi], 0
je 0x41e58c
mov eax, dword [ebp + 0x1c]
or byte [eax], 4
xor ebx, ebx
test byte [esi + 0x60], 1
je 0x41e59d
push dword [esi + 0x68]
call fcn.005128f8
add esp, 4
test byte [esi + 0x28], 1
je 0x41e5ae
push dword [esi + 0x30]
call fcn.005128f8
add esp, 4
test byte [esi + 0x38], 1
je 0x41e5bf
push dword [esi + 0x40]
call fcn.005128f8
add esp, 4
test byte [esi + 0x18], 1
je 0x41e5d0
push dword [esi + 0x20]
call fcn.005128f8
add esp, 4
test byte [esi + 0x78], 1
je 0x41e5e4
push dword [esi + 0x80]
call fcn.005128f8
add esp, 4
mov eax, dword [esi + 0x48]
mov dword [esi + 0x48], 0
test eax, eax
je 0x41e607
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