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

Disassembly:
push 0xffffffffffffffff
push 0x68c3db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xec]
xor eax, eax
push edi
mov al, byte [esi + 0x18]
mov edi, dword [esi + 0x19]
add eax, 0xfffffffc
mov dword [esp + 0x2c], ecx
cmp eax, 0x16
mov dword [esp + 0x48], edi
ja case.0x538bfe.12
xor ecx, ecx
mov cl, byte [eax + 0x539c88]
jmp dword [ecx*4 + 0x539c60]
mov ecx, esi
call fcn.00529213
jmp case.0x538bfe.12
mov ecx, esi
call fcn.0052860f
jmp case.0x538bfe.12
mov ecx, esi
call fcn.00528ea9
jmp case.0x538bfe.12
mov ecx, esi
call fcn.0053bd87
jmp case.0x538bfe.12
mov ecx, esi
call fcn.00540056
jmp case.0x538bfe.12
mov ecx, esi
call fcn.00522093
jmp case.0x538bfe.12
mov ecx, esi
call fcn.0052e154
jmp case.0x538bfe.12
mov ecx, esi
call fcn.00523dcc
mov al, byte [edi + 0x431]
xor ebp, ebp
test al, al
je 0x5393b4
mov dl, byte [edi + 0x43d]
shr edx, 5
and edx, 1
mov dword [esp + 0x4c], edx
je 0x5393b4
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 0x2e]
mov cl, byte [esi + 0x2d]
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], al
mov al, byte [esp + 0x20]
test al, al
jne 0x538c97
mov al, byte [esp + 0x21]
test al, al
je 0x5393b0
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x21]
mov edi, dword [esp + 0x20]
and esi, 0xff
mov ecx, dword [eax + 6]
and edi, 0xff
push esi
push edi
mov edx, dword [ecx]
call dword [edx + 0x1d8]
mov ecx, eax
mov dword [esp + 0x4c], eax
xor ebx, ebx
call fcn.004a2531
test eax, eax
je 0x538cd2
mov ebx, 1
mov eax, dword [esp + 0xf0]
cmp byte [eax + 0x18], 0xf
jne 0x538d12
lea ecx, [esp + 0x28]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
call fcn.00522313
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x538d12
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
je 0x538d12
cmp edi, eax
jne 0x538d12
cmp esi, ecx
jne 0x538d12
xor ebx, ebx
cmp ebx, ebp
je 0x539397
mov edx, dword [esp + 0x2c]
mov eax, edi
mov ecx, esi
mov dword [esp + 0x38], ebp
shl eax, 0xc
shl ecx, 0xc
add eax, 0x800
add ecx, 0x800
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [edx + 6]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x34]
mov edx, dword [ecx]
push eax
call dword [edx + 0x1d4]
mov ecx, eax
call fcn.004a29da
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x38], eax
xor al, al
mov byte [esp + 0x14], al
mov ebx, dword [esp + 0x14]
mov edx, ebx
and edx, 0xff
cmp byte [ecx + edx + 0x431], 0
je 0x538d8d
inc al
cmp al, 4
mov byte [esp + 0x14], al
jb 0x538d69
mov ebx, dword [esp + 0x14]
test byte [ecx + 0x43e], 1
je 0x538da3
cmp al, 4
jne 0x538da3
mov byte [esp + 0x14], 3
mov ebx, dword [esp + 0x14]
push 0x784
lea eax, [esp + 0xc8]
push 0x7aef0c
push eax
push 0x2286
mov dword [esp + 0xd8], edi
mov dword [esp + 0xd4], esi
call fcn.0059cec2
add esp, 0x10
lea ecx, [esp + 0xc8]
mov ebp, eax
push 0x784
push 0x7aef0c
push ecx
push 0x16f2
call fcn.0059cec2
add esp, 0x10
lea edx, [esp + 0xd0]
and ebx, 0xff
xor ebp, eax
push 0x785
push 0x7aef0c
push edx
push ebx
mov dword [esp + 0xe0], ebp
call fcn.0059cec2
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0xf4]
push edx
mov dx, word [ecx + 0x1d]
mov ecx, dword [esp + 0x50]
push edx
mov dl, byte [eax + ecx + 0x431]
mov eax, dword [esp + 0x38]
push edx
mov ecx, dword [eax + 6]
add ecx, 8
call fcn.005038ad
xor ebp, ebp
cmp eax, ebp
je 0x539397
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0xf0]
push ecx
mov ecx, ebx
call fcn.00530fb8
mov edx, dword [esp + 0x10]
mov dword [edx + 0x133], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
add eax, 0xf6
mov dword [eax], ecx
mov edx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
xor eax, eax
mov al, byte [ecx + 0x12c]
add eax, 0xfffffff8
cmp eax, 0x4f
ja case.0x538eb4.15
xor edx, edx
mov dl, byte [eax + 0x539cc0]
jmp dword [edx*4 + 0x539ca0]
mov dword [ecx + 0xdc], ebp
mov eax, dword [esp + 0x10]
add eax, 0x44
push 0x79b
lea ecx, [esp + 0x2c]
push 0x7aef0c
mov dword [eax + 0x90], ebp
push ecx
mov dword [eax + 0x94], ebp
push 0x2286
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], esi
call fcn.0059cec2
add esp, 0x10
lea edx, [esp + 0x1c]
mov esi, eax
push 0x79b
push 0x7aef0c
push edx
push 0x16f2
call fcn.0059cec2
add esp, 0x10
xor esi, eax
lea eax, [esp + 0xcc]
mov dword [esp + 0xcc], esi
push 0x79d
push 0x7aef0c
push eax
push 0x800
call fcn.0059cec2
mov ecx, dword [esp + 0x20]
add esp, 0x10
and eax, 0x7ff
mov word [ecx + 0xf4], ax
mov edx, dword [esp + 0x10]
mov word [edx + 0x102], ax
jmp 0x539397
mov edi, dword [esp + 0x2c]
xor esi, esi
mov eax, dword [esp + 0x30]
mov edx, esi
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa0], ecx
neg edx
sbb edx, edx
mov dword [esp + 0x9c], eax
and edx, 0xfffff060
lea ecx, [esp + 0x98]
add edx, 0x7d0
add edx, eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x9c], edx
mov dx, word [ebx + 0x1d]
push eax
push ecx
mov ecx, dword [edi + 6]
push edx
push 0x1e
add ecx, 8
call fcn.005038ad
cmp eax, ebp
je 0x538fe6
mov eax, dword [esp + 0xbc]
mov ecx, ebx
push eax
call fcn.00530fb8
mov ecx, dword [esp + 0xbc]
mov dword [ecx + 0x133], 1
inc esi
cmp esi, 2
jb 0x538f64
jmp 0x539397
push esi
push edi
mov word [ecx + 0x64], 0x600
call fcn.0053d406
mov edx, dword [esp + 0x18]
and eax, 0x7ff
add esp, 8
mov word [edx + 0xf4], ax
mov ecx, dword [esp + 0x10]
push 0x1e
mov word [ecx + 0x102], ax
mov ecx, dword [esp + 0x14]
call fcn.004eb844
jmp 0x539397
push 0x7cc
lea edx, [esp + 0x2c]
push 0x7aef0c
push edx
push 0x2286
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], esi
call fcn.0059cec2
add esp, 0x10
mov esi, eax
lea eax, [esp + 0x1c]
push 0x7cc
push 0x7aef0c
push eax
push 0x16f2
call fcn.0059cec2
mov ecx, dword [esp + 0x20]
add esp, 0x10
lea edx, [esp + 0xc0]
xor esi, eax
push 0x7cd
push 0x7aef0c
push edx
mov dword [esp + 0xcc], esi
push 0xaa
lea esi, [ecx + 0x44]
call fcn.0059cec2
add eax, 0x7a8
add esp, 0x10
and eax, 0x7ff
lea ecx, [esp + 0xc0]
mov word [esi + 0x24], ax
mov eax, dword [esp + 0x10]
push 0x7ce
push 0x7aef0c
push ecx
push 0x64
lea esi, [eax + 0x44]
call fcn.0059cec2
add eax, 0x7ce
add esp, 0x10
and eax, 0x7ff
mov word [esi + 0x22], ax
mov edx, dword [esp + 0x10]
mov word [edx + 0x95], bp
mov word [edx + 0x97], 0xfaab
lea eax, [edx + 0x44]
mov word [eax + 0x55], bp
mov eax, dword [esp + 0x10]
mov word [eax + 0xf4], bp
mov ecx, dword [esp + 0x10]
mov word [ecx + 0x102], bp
jmp 0x539397
add ecx, 0x1a
push 0x7fc
push 0x7aef0c
mov edx, dword [ecx]
mov dword [esp + 0x44], edx
lea edx, [esp + 0xb0]
mov eax, dword [ecx + 4]
push edx
mov dword [esp + 0x4c], eax
push 0x2286
mov ecx, dword [ecx + 8]
mov dword [esp + 0xbc], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0xb8], esi
call fcn.0059cec2
add esp, 0x10
mov esi, eax
lea eax, [esp + 0xac]
push 0x7fc
push 0x7aef0c
push eax
push 0x16f2
call fcn.0059cec2
add esp, 0x10
lea ecx, [esp + 0x18]
xor esi, eax
push 0x7fe
push 0x7aef0c
push ecx
push 0x800
mov dword [esp + 0x28], esi
call fcn.0059cec2
mov edx, dword [esp + 0x4c]
add esp, 0x10
lea ecx, [esp + 0x18]
push 0x7ff
push 0x7aef0c
lea eax, [edx + eax - 0x400]
push ecx
push 0x800
mov dword [esp + 0x4c], eax
call fcn.0059cec2
mov edx, dword [esp + 0x50]
add esp, 0x10
lea ecx, [esp + 0x3c]
lea eax, [edx + eax - 0x400]
push ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
call fcn.0050155b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
add edx, 0xf6
push 0x803
push 0x7aef0c
mov dword [edx], eax
mov ecx, dword [esp + 0x48]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
mov dword [edx + 8], eax
jmp 0x53926f
push 0x80d
lea edx, [esp + 0x2c]
push 0x7aef0c
push edx
push 0x2286
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], esi
call fcn.0059cec2
add esp, 0x10
mov esi, eax
lea eax, [esp + 0x1c]
push 0x80d
push 0x7aef0c
push eax
push 0x16f2
call fcn.0059cec2
add esp, 0x10
xor esi, eax
mov dword [esp + 0xa4], esi
lea ecx, [esp + 0xa4]
push 0x80e
push 0x7aef0c
push ecx
push 0x800
call fcn.0059cec2
mov edx, dword [esp + 0x20]
add esp, 0x10
and eax, 0x7ff
mov word [edx + 0xf4], ax
mov ecx, dword [esp + 0x10]
mov word [ecx + 0x102], ax
jmp 0x539397
mov eax, dword [ecx + 0x1e]
push 0x81c
sar eax, 0xc
cdq
xor eax, edx
push 0x7aef0c
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
shl eax, 0xa
and eax, 0x7ff
mov word [ecx + 0xf4], ax
mov edx, dword [esp + 0x18]
mov word [edx + 0x102], ax
lea eax, [esp + 0xc0]
push eax
push 0x2286
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], esi
call fcn.0059cec2
add esp, 0x10
lea ecx, [esp + 0xb4]
mov esi, eax
push 0x81c
push 0x7aef0c
push ecx
push 0x16f2
call fcn.0059cec2
add esp, 0x10
lea edx, [esp + 0xb0]
xor esi, eax
push 0x81d
push 0x7aef0c
push edx
push 3
mov dword [esp + 0xc0], esi
call fcn.0059cec2
mov ebx, eax
mov eax, 0x1000
add esp, 0x10
mov dword [esp + 0x28], eax
push 1
push ebp
push eax
lea eax, [ebx + 4]
mov dword [esp + 0xf4], ebp
lea eax, [eax + eax*2]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x1c]
add ecx, dword [eax + 0x12d]
push ecx
lea ecx, [eax + 0x44]
call fcn.004ff89c
mov edx, dword [esp + 0x10]
mov dword [esp + 0xe8], 0xffffffff
mov byte [edx + 0x14a], bl
jmp 0x539397
mov word [ecx + 0xf4], bp
mov eax, dword [esp + 0x10]
mov word [eax + 0x102], bp
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0xf0]
mov dx, word [ecx + 4]
mov word [esp + 0x20], dx
jmp 0x538c83
mov edi, dword [esp + 0x48]
mov al, byte [edi + 0x434]
test al, al
je 0x539c42
mov ax, word [edi + 0x43d]
shr eax, 8
and eax, 1
mov dword [esp + 0x4c], eax
je 0x539c42
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 0x2e]
mov cl, byte [esi + 0x2d]
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], al
mov al, byte [esp + 0x20]
test al, al
jne 0x5393ff
mov al, byte [esp + 0x21]
test al, al
je 0x539c42
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x21]
mov ebx, dword [esp + 0x20]
and edi, 0xff
mov ecx, dword [ecx + 6]
and ebx, 0xff
push edi
push ebx
mov edx, dword [ecx]
call dword [edx + 0x1d8]
lea ecx, [esp + 0x18]
mov dword [esp + 0xa8], eax
push ecx
mov ecx, eax
mov byte [esp + 0x1c], 0xff
call fcn.004a2654
test eax, eax
je 0x539c2d
mov ecx, dword [esp + 0x2c]
mov edx, ebx
shl edx, 0xc
mov ecx, dword [ecx + 6]
add edx, 0x800
mov eax, edi
mov dword [esp + 0x98], edx
shl eax, 0xc
lea edx, [esp + 0x98]
add eax, 0x800
push edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ebp
mov eax, dword [ecx]
lea edx, [esp + 0x9c]
push edx
call dword [eax + 0x1d4]
mov ecx, eax
call fcn.004a29da
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xa0], eax
xor al, al
mov byte [esp + 0x1c], al
mov esi, dword [esp + 0x1c]
mov edx, esi
and edx, 0xff
cmp byte [edx + ecx + 0x434], 0
je 0x5394c9
inc al
cmp al, 3
mov byte [esp + 0x1c], al
jb 0x5394a5
mov esi, dword [esp + 0x1c]
push 0x857
lea eax, [esp + 0x50]
push 0x7aef0c
push eax
push 0x2286
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x5c], edi
call fcn.0059cec2
add esp, 0x10
lea ecx, [esp + 0xb0]
mov ebp, eax
push 0x857
push 0x7aef0c
push ecx
push 0x16f2
call fcn.0059cec2
add esp, 0x10
lea edx, [esp + 0xb4]
and esi, 0xff
xor ebp, eax
push 0x858
push 0x7aef0c
push edx
push esi
mov dword [esp + 0xc4], ebp
call fcn.0059cec2
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x98]
mov dword [esp + 0xac], eax
push ecx
mov ecx, dword [esp + 0xf4]
push edx
mov dx, word [ecx + 0x1d]
mov ecx, dword [esp + 0x50]
push edx
mov dl, byte [eax + ecx + 0x434]
mov eax, dword [esp + 0x38]
push edx
mov ecx, dword [eax + 6]
add ecx, 8
call fcn.005038ad
xor ebp, ebp
cmp eax, ebp
je 0x539c2d
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xf4]
call fcn.00530fb8
mov edx, dword [esp + 0x10]
mov dword [esp + 0xdc], ebp
mov dword [edx + 0x133], 1
mov ecx, dword [esp + 0x10]
movsx eax, byte [esp + 0x18]
add eax, 2
cdq
xor eax, edx
sub eax, edx
and eax, 3
xor eax, edx
sub eax, edx
shl eax, 9
and eax, 0x7ff
mov word [ecx + 0xf4], ax
mov edx, dword [esp + 0x10]
mov word [edx + 0x102], ax
mov ecx, dword [esp + 0x10]
xor eax, eax
mov al, byte [ecx + 0x12c]
lea esi, [eax - 8]
cmp esi, 0x3c
ja case.0x5395f8.14
xor eax, eax
mov al, byte [esi + 0x539d30]
jmp dword [eax*4 + 0x539d10]
mov eax, dword [ecx + 0x1e]
mov edx, dword [ecx + 0x1a]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x80], edx
mov edx, dword [ecx + 0x22]
and eax, 0xff
mov esi, ecx
cmp eax, 3
mov dword [esp + 0x88], edx
ja case.default.0x53962d
jmp dword [eax*4 + 0x539d70]
sub dword [esp + 0x84], 0x700
jmp case.default.0x53962d
mov eax, dword [esp + 0x80]
add eax, 0x700
jmp 0x539668
add dword [esp + 0x84], 0x700
jmp case.default.0x53962d
mov eax, dword [esp + 0x80]
sub eax, 0x700
mov dword [esp + 0x80], eax
lea eax, [esp + 0x80]
push eax
call fcn.0050155b
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
add esi, 0xf6
mov dword [esi], ecx
mov dword [esi + 4], edx
jmp 0x539a90
mov eax, dword [ecx + 0x1e]
mov edx, dword [ecx + 0x1a]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], edx
mov edx, dword [ecx + 0x22]
and eax, 0xff
mov esi, ecx
cmp eax, 3
mov dword [esp + 0x64], edx
ja case.default.0x5396c6
jmp dword [eax*4 + 0x539d80]
sub dword [esp + 0x60], 0x700
jmp case.default.0x5396c6
mov eax, dword [esp + 0x5c]
add eax, 0x700
jmp 0x5396f5
add dword [esp + 0x60], 0x700
jmp case.default.0x5396c6
mov eax, dword [esp + 0x5c]
sub eax, 0x700
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push eax
call fcn.0050155b
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
add esi, 0xf6
mov dword [esi], ecx
mov dword [esi + 4], edx
jmp 0x539a90
mov eax, dword [ecx + 0x1e]
mov edx, dword [ecx + 0x1a]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x8c], edx
mov edx, dword [ecx + 0x22]
and eax, 0xff
mov esi, ecx
cmp eax, 3
mov dword [esp + 0x94], edx
ja case.default.0x53974d
jmp dword [eax*4 + 0x539d90]
sub dword [esp + 0x90], 0x7c0
jmp case.default.0x53974d
mov eax, dword [esp + 0x8c]
add eax, 0x7c0
jmp 0x539788
add dword [esp + 0x90], 0x7c0
jmp case.default.0x53974d
mov eax, dword [esp + 0x8c]
sub eax, 0x7c0
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x8c]
push eax
call fcn.0050155b
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
add esi, 0xf6
push 0x1e
mov dword [esp + 0xe0], 0x800
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x14]
call fcn.004eb844
jmp 0x539a93
push 0x87d
lea ecx, [esp + 0xbc]
push 0x7aef0c
push ecx
push 0x2286
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xc8], edi
call fcn.0059cec2
add esp, 0x10
lea edx, [esp + 0xa4]
push 0x87d
push 0x7aef0c
push edx
push 0x16f2
call fcn.0059cec2
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov esi, ecx
mov eax, dword [ecx + 0x1a]
mov edx, dword [ecx + 0x1e]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0x22]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x18]
and eax, 0xff
mov dword [esp + 0x78], edx
cmp eax, 3
ja case.default.0x53984f
jmp dword [eax*4 + 0x539da0]
sub dword [esp + 0x78], 0x700
jmp case.default.0x53984f
mov eax, dword [esp + 0x74]
add eax, 0x700
jmp 0x53987e
add dword [esp + 0x78], 0x700
jmp case.default.0x53984f
mov eax, dword [esp + 0x74]
sub eax, 0x700
mov dword [esp + 0x74], eax
lea edx, [esp + 0x74]
push edx
call fcn.0050155b
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
add esi, 0xf6
push 0x881
push 0x7aef0c
mov dword [esi], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov ecx, dword [eax + 6]
add ecx, 0x15a0
push ecx
push 0x1000
call fcn.0059cec2
mov edx, dword [esp + 0x20]
mov dword [edx + 0xd4], eax
add esp, 0x10
mov dword [edx + 0xd8], eax
lea ecx, [edx + 0x44]
jmp 0x539a93
mov eax, dword [ecx + 0x1a]
mov edx, dword [ecx + 0x1e]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0x22]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
and eax, 0xff
mov esi, ecx
cmp eax, 3
mov dword [esp + 0x54], edx
ja case.default.0x539908
jmp dword [eax*4 + 0x539db0]
sub dword [esp + 0x54], 0x700
jmp case.default.0x539908
mov eax, dword [esp + 0x50]
add eax, 0x700
jmp 0x539937
add dword [esp + 0x54], 0x700
jmp case.default.0x539908
mov eax, dword [esp + 0x50]
sub eax, 0x700
mov dword [esp + 0x50], eax
lea edx, [esp + 0x50]
push edx
call fcn.0050155b
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
add esi, 0xf6
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov eax, dword [esp + 0x10]
mov dword [eax + 0xdc], ebp
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xd4], ebp
mov dword [ecx + 0xd8], ebp
lea eax, [ecx + 0x44]
jmp 0x539a93
mov eax, dword [ecx + 0x1e]
mov edx, dword [ecx + 0x1a]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], edx
mov edx, dword [ecx + 0x22]
and eax, 0xff
mov esi, ecx
cmp eax, 3
mov dword [esp + 0x70], edx
ja case.default.0x5399a6
jmp dword [eax*4 + 0x539dc0]
sub dword [esp + 0x6c], 0x480
jmp case.default.0x5399a6
mov eax, dword [esp + 0x68]
add eax, 0x480
jmp 0x5399d5
add dword [esp + 0x6c], 0x480
jmp case.default.0x5399a6
mov eax, dword [esp + 0x68]
sub eax, 0x480
mov dword [esp + 0x68], eax
lea eax, [esp + 0x68]
push eax
call fcn.0050155b
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
add esi, 0xf6
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x12c], 0x3e
jne 0x539a93
push 0x28
call fcn.004eb844
jmp 0x539a93
mov eax, dword [ecx + 0x1e]
mov edx, dword [ecx + 0x1a]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], edx
mov edx, dword [ecx + 0x22]
and eax, 0xff
mov esi, ecx
cmp eax, 3
mov dword [esp + 0x44], edx
ja case.default.0x539a3c
jmp dword [eax*4 + 0x539dd0]
sub dword [esp + 0x40], 0x700
jmp case.default.0x539a3c
mov eax, dword [esp + 0x3c]
add eax, 0x700
jmp 0x539a6b
add dword [esp + 0x40], 0x700
jmp case.default.0x539a3c
mov eax, dword [esp + 0x3c]
sub eax, 0x700
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
push eax
call fcn.0050155b
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
add esi, 0xf6
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x10]
mov dx, word [esp + 0xdc]
mov ebx, dword [esp + 0xac]
mov word [ecx + 0x95], bp
lea eax, [ecx + 0x44]
mov word [eax + 0x53], bp
mov word [eax + 0x55], dx
mov eax, dword [esp + 0x48]
mov al, byte [ebx + eax + 0x434]
cmp al, 0x3e
jb 0x539c2d
cmp al, 0x3f
ja 0x539c2d
mov esi, dword [esp + 0xf0]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x30]
mov ax, word [esi + 0x1d]
lea edx, [esp + 0x9c]
mov ecx, dword [ecx + 6]
push edx
push eax
push 8
add ecx, 8
call fcn.005038ad
cmp eax, ebp
je 0x539c2d
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
call fcn.00530fb8
mov eax, dword [esp + 0x14]
mov edi, 1
push 0x1e
mov dword [eax + 0x133], edi
mov ecx, dword [esp + 0x18]
movsx eax, byte [esp + 0x1c]
add eax, 2
cdq
xor eax, edx
sub eax, edx
and eax, 3
xor eax, edx
sub eax, edx
shl eax, 9
and eax, 0x7ff
mov word [ecx + 0xf4], ax
mov edx, dword [esp + 0x18]
mov word [edx + 0x102], ax
mov ecx, dword [esp + 0x18]
call fcn.004eb844
mov eax, dword [esp + 0x14]
mov word [eax + 0x95], bp
add eax, 0x44
mov word [eax + 0x53], bp
mov word [eax + 0x55], 0x800
mov ecx, dword [esp + 0x14]
mov esi, ecx
mov eax, dword [ecx + 0x1e]
mov edx, dword [ecx + 0x1a]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 0x22]
and eax, 0xff
mov dword [esp + 0x38], edx
cmp eax, 3
ja case.default.0x539b9e
jmp dword [eax*4 + 0x539de0]
sub dword [esp + 0x34], 0x7c0
jmp case.default.0x539b9e
mov eax, dword [esp + 0x30]
add eax, 0x7c0
jmp 0x539bcd
add dword [esp + 0x34], 0x7c0
jmp case.default.0x539b9e
mov eax, dword [esp + 0x30]
sub eax, 0x7c0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
call fcn.0050155b
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
add esi, 0xf6
mov dword [esi], ecx
mov ecx, dword [esp + 0x48]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov al, byte [ebx + ecx + 0x434]
cmp al, 0x3e
jne 0x539c23
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xa8]
mov dword [edx + 0x14c], edi
mov dx, word [ecx + 4]
mov word [esp + 0x20], dx
jmp 0x5393eb
mov eax, dword [esp + 0x14]
mov dword [eax + 0x14c], ebp
mov ecx, dword [esp + 0xa8]
mov dx, word [ecx + 4]
mov word [esp + 0x20], dx
jmp 0x5393eb
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xdc
ret 4