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

Disassembly:
sub esp, 0xb4
mov eax, dword [esp + 0xc4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc4]
mov dword [esp + 0x1c], eax
push edi
mov edi, dword [esp + 0xcc]
xor eax, eax
mov ebx, ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xd0]
mov ebp, edi
test ebx, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
je 0x51e3385a
test esi, esi
je 0x51e3385a
test eax, eax
je 0x51e3385a
test edx, 0xbffceff8
jne 0x51e322bc
mov eax, dword [ebx + 0x1c]
test eax, eax
mov dword [esp + 0xc0], eax
jne 0x51df583e
test edi, edi
je 0x51e3231a
mov cx, word [esi]
test cx, cx
je 0x51e322c6
mov eax, dword [esp + 0x20]
test eax, eax
je 0x51df5824
mov eax, dword [esp + 0x14]
mov ax, word [eax]
test ax, ax
je 0x51e322d4
cmp cx, ax
je 0x51e322e7
test ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], esi
je 0x51e3231a
cmp word [esi], 0
je 0x51e32311
mov eax, edx
mov ecx, edx
and eax, 4
mov edi, edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x90], eax
mov eax, edx
and ecx, 3
and eax, 0x1000
and edi, 2
mov dword [esp + 0x8c], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], eax
or esi, 0xffffffff
mov eax, 4
cmp ecx, 3
mov dword [esp + 0x84], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x40], eax
ja case.default.0x51df58b1
jmp dword [ecx*4 + 0x51dfffe8]
mov dword [esp + 0x38], 0xe7ffffff
mov ecx, dword [ebx + 0x18]
xor eax, eax
test ecx, ecx
setne al
inc eax
or al, 4
mov dword [esp + 0x40], eax
mov ecx, edx
and ecx, 0x30000
cmp ecx, 0x10000
je 0x51e32398
cmp ecx, 0x20000
je 0x51e32376
cmp ecx, 0x30000
je 0x51e3236a
test ebp, ebp
je 0x51e335cf
mov ebx, dword [esp + 0x10]
mov si, word [ebx]
test si, si
je 0x51e323a5
mov eax, dword [esp + 0x20]
test eax, eax
je 0x51e33667
mov edi, dword [esp + 0x14]
cmp word [edi], 0
je 0x51e323b8
cmp dword [esp + 0x24], 0xffffffff
jne 0x51df5964
lea edx, [esp + 0x7c]
mov ecx, esi
call fcn.51df5aac
mov edx, dword [0x51e895a0]
and edx, 0x3ff
cmp edx, 0x12
je 0x51e323cb
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x38]
and eax, ecx
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x1c]
cmp ebx, 0xffffffff
jne 0x51df599c
mov si, word [edi]
lea edx, [esp + 0x78]
mov ecx, esi
call fcn.51df5aac
mov eax, dword [0x51e895a0]
and eax, 0x3ff
cmp eax, 0x12
je 0x51e3241e
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x38]
and ebx, eax
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0xc0]
test eax, eax
jne 0x51e32471
cmp dword [esp + 0x24], ebx
je 0x51e33536
mov ecx, dword [esp + 0x24]
mov al, byte [esp + 0x1d]
mov dl, byte [esp + 0x25]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
mov bl, al
mov dword [esp + 0x4c], ecx
mov cx, word [esp + 0x24]
cmp cx, word [esp + 0x1c]
mov byte [esp + 0xa8], dl
mov byte [esp + 0xb4], bl
je 0x51e32a51
mov cl, byte [esp + 0x25]
test cl, cl
je 0x51e32a6a
or ecx, 0xffffffff
mov esi, 2
test al, al
je 0x51e32a8e
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x51e32aaa
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x51e32aeb
cmp dword [esp + 0x24], ecx
je 0x51e335bc
cmp dword [esp + 0x1c], 0xffffffff
je 0x51e335bc
mov edx, dword [esp + 0xa8]
and edx, 0xff
lea eax, [edx - 1]
cmp eax, 0xa
jbe 0x51e32b2c
mov ecx, dword [esp + 0xb4]
and ecx, 0xff
lea eax, [ecx - 1]
cmp eax, 0xa
jbe 0x51e32edf
mov ecx, dword [esp + 0x24]
or eax, 0xffffffff
cmp ecx, eax
je 0x51e335bc
cmp dword [esp + 0x1c], eax
je 0x51e335bc
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
cmp cx, ax
je 0x51e3337b
sbb eax, eax
pop edi
and al, 0xfe
pop esi
pop ebp
add eax, 3
pop ebx
add esp, 0xb4
ret 0x14
push 0x3ec
jmp 0x51e3385c
cmp edi, 0xfffffffe
je 0x51df5824
jmp 0x51df5803
cmp dword [esp + 0xd4], 0xfffffffe
je 0x51df5824
jmp 0x51df581b
mov ecx, dword [esp + 0x14]
add esi, 2
add ecx, 2
dec ebp
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
dec ecx
test ebp, ebp
mov dword [esp + 0x20], ecx
jne 0x51df57f7
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], esi
jmp 0x51e3231a
cmp edi, 0xfffffffe
jne 0x51df583e
mov eax, dword [esp + 0x20]
test eax, eax
je 0x51e337d3
mov ecx, dword [esp + 0x14]
cmp word [ecx], 0
jne 0x51df583e
cmp dword [esp + 0xd4], 0xfffffffe
je 0x51e337d3
jmp 0x51df583e
mov dword [esp + 0x38], esi
jmp 0x51df58c0
mov dword [esp + 0x38], 0xff00ffff
jmp case.default.0x51df58b1
mov dword [esp + 0x38], 0xe700ffff
jmp case.default.0x51df58b1
mov esi, dword [esp + 0x38]
and esi, 0xdeffffff
jmp 0x51e32380
mov esi, dword [esp + 0x38]
and esi, 0xfeffffff
test dl, 1
mov dword [esp + 0x38], esi
je 0x51df58fd
and al, 0xfb
mov dword [esp + 0x40], eax
jmp 0x51df58fd
and dword [esp + 0x38], 0xdfffffff
jmp 0x51df58fd
cmp dword [esp + 0xcc], 0xfffffffe
je 0x51e33667
jmp 0x51df5915
cmp dword [esp + 0xd4], 0xfffffffe
je 0x51e33667
jmp 0x51df592f
mov al, byte [esp + 0x7d]
cmp al, 3
jne 0x51e323f1
mov al, byte [esp + 0x7c]
test al, al
je 0x51df5956
cmp al, 1
je 0x51df5956
mov byte [esp + 0x7d], 0x94
jmp 0x51df5956
cmp al, 0xe
jb 0x51df5956
cmp si, 0xe000
jb 0x51e3240b
cmp si, 0xf8ff
jbe 0x51df5956
cmp al, 0x80
jae 0x51e32413
add al, 0x72
jmp 0x51e32415
add al, 0x8e
mov byte [esp + 0x7d], al
jmp 0x51df5956
mov al, byte [esp + 0x79]
cmp al, 3
jne 0x51e32444
mov al, byte [esp + 0x78]
test al, al
je 0x51df598e
cmp al, 1
je 0x51df598e
mov byte [esp + 0x79], 0x94
jmp 0x51df598e
cmp al, 0xe
jb 0x51df598e
cmp si, 0xe000
jb 0x51e3245e
cmp si, 0xf8ff
jbe 0x51df598e
cmp al, 0x80
jae 0x51e32466
add al, 0x72
jmp 0x51e32468
add al, 0x8e
mov byte [esp + 0x79], al
jmp 0x51df598e
mov al, byte [esp + 0x27]
test al, 0xc0
jne 0x51e32484
test byte [esp + 0x1f], 0xc0
je 0x51df59ab
mov cl, byte [esp + 0x1f]
and eax, 0xc0
and ecx, 0xc0
mov ebp, eax
mov edi, ecx
mov dword [esp + 0x28], ebp
cmp ebp, edi
mov dword [esp + 0x44], edi
mov esi, ebp
jg 0x51e324a7
mov esi, edi
mov edx, dword [esp + 0x18]
dec edx
test edx, edx
je 0x51e324cf
mov eax, dword [esp + 0x10]
cmp word [eax + 2], 0
jne 0x51e324c5
cmp dword [esp + 0xcc], 0xfffffffe
je 0x51e324cf
mov dword [esp + 0x50], 0
jmp 0x51e324d7
mov dword [esp + 0x50], 1
mov ecx, dword [esp + 0x20]
dec ecx
test ecx, ecx
je 0x51e324ff
mov eax, dword [esp + 0x14]
cmp word [eax + 2], 0
jne 0x51e324f5
cmp dword [esp + 0xd4], 0xfffffffe
je 0x51e324ff
mov dword [esp + 0x4c], 0
jmp 0x51e32507
mov dword [esp + 0x4c], 1
mov eax, dword [esp + 0x58]
cmp dword [eax + 0x20], 0
jne 0x51e3275e
mov eax, esi
sub eax, 0x80
je 0x51e32675
sub eax, 0x40
jne 0x51df59ab
test ebp, ebp
je 0x51e32559
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x51e32559
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
add ecx, 0xfffffffe
test ecx, ecx
je 0x51e3255d
cmp word [esi + 4], 0
jne 0x51e3259b
cmp dword [esp + 0xcc], 0xfffffffe
jne 0x51e3259b
jmp 0x51e3255d
mov esi, dword [esp + 0x10]
test edi, edi
je 0x51e3266f
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x51e3266f
mov edx, dword [esp + 0x20]
add edx, 0xfffffffe
test edx, edx
je 0x51e3266f
mov edx, dword [esp + 0x14]
cmp word [edx + 4], 0
jne 0x51e3259f
cmp dword [esp + 0xd4], 0xfffffffe
je 0x51e3267d
jmp 0x51e3259f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov eax, dword [eax + 0x24]
mov cx, word [eax + 0xa]
mov eax, dword [esp + 0x58]
test ecx, ecx
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x44], ecx
jle 0x51e3267d
test ebp, ebp
je 0x51e32606
mov cx, word [eax]
cmp cx, word [esi]
jne 0x51e32606
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x51e32606
mov cx, word [eax + 4]
cmp cx, word [esi + 4]
jne 0x51e32606
mov ecx, dword [eax + 8]
mov ebp, dword [esp + 0x38]
and ecx, ebp
mov ebp, dword [esp + 0x18]
sub ebp, 2
add esi, 4
mov dword [esp + 0x18], ebp
xor ebp, ebp
test edi, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], esi
je 0x51e32661
jmp 0x51e3260a
test edi, edi
je 0x51e3264b
mov cx, word [eax]
cmp cx, word [edx]
jne 0x51e3264b
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x51e3264b
mov cx, word [eax + 4]
cmp cx, word [edx + 4]
jne 0x51e3264b
mov edi, dword [esp + 0x20]
mov ebx, dword [eax + 8]
mov ecx, dword [esp + 0x38]
sub edi, 2
mov dword [esp + 0x20], edi
and ebx, ecx
add edx, 4
xor edi, edi
test ebp, ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edx
je 0x51e32661
mov ecx, dword [esp + 0x44]
add eax, 0xc
dec ecx
test ecx, ecx
mov dword [esp + 0x44], ecx
jg 0x51e325bf
jmp 0x51e3267d
mov eax, dword [esp + 0x44]
test eax, eax
jg 0x51df59ab
jmp 0x51e3267d
mov edx, dword [esp + 0x14]
jmp 0x51e3267d
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ebp, ebp
je 0x51e32689
mov eax, dword [esp + 0x50]
test eax, eax
je 0x51e3269d
test edi, edi
je 0x51df59ab
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x51df59ab
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov eax, dword [eax + 0x24]
mov cx, word [eax + 8]
mov eax, dword [esp + 0x58]
test ecx, ecx
mov eax, dword [eax + 0x28]
jle 0x51df59ab
test ebp, ebp
jne 0x51e326c7
test edi, edi
je 0x51df59ab
jmp 0x51e3270a
mov dx, word [eax]
cmp dx, word [esi]
jne 0x51e32702
mov dx, word [eax + 2]
cmp dx, word [esi + 2]
jne 0x51e32702
mov edx, dword [eax + 4]
mov ebp, dword [esp + 0x38]
add esi, 2
and edx, ebp
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
dec esi
xor ebp, ebp
test edi, edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], esi
je 0x51df59ab
jmp 0x51e32706
test edi, edi
je 0x51e32749
mov edx, dword [esp + 0x14]
mov si, word [eax]
cmp si, word [edx]
jne 0x51e32743
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x51e32743
mov ebx, dword [eax + 4]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
and ebx, esi
add edx, 2
dec edi
mov dword [esp + 0x20], edi
xor edi, edi
test ebp, ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edx
je 0x51df59ab
mov esi, dword [esp + 0x10]
jmp 0x51e3274d
mov edx, dword [esp + 0x14]
dec ecx
add eax, 8
test ecx, ecx
jg 0x51e326b9
jmp 0x51df59ab
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov ax, word [edi]
cmp ax, word [edi + 2]
sete bl
mov eax, ebx
test eax, eax
mov dword [esp + 0xa0], eax
je 0x51e32786
add edi, 2
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov dx, word [eax]
cmp dx, word [eax + 2]
sete bl
mov edx, ebx
test edx, edx
mov dword [esp + 0xac], edx
je 0x51e327ae
add eax, 2
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
mov eax, esi
sub eax, 0x80
je 0x51e3292c
sub eax, 0x40
jne 0x51e32a06
test ebp, ebp
je 0x51e32861
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x51e32861
mov eax, dword [esp + 0x18]
add eax, 0xfffffffe
test eax, eax
mov dword [esp + 0x70], eax
je 0x51e32861
mov edi, dword [esp + 0x10]
mov si, word [edi + 4]
test si, si
jne 0x51e327fe
cmp dword [esp + 0xcc], 0xfffffffe
je 0x51e32861
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x2c]
mov cx, word [edx + 0xa]
test ecx, ecx
jle 0x51e32861
mov dx, word [edi]
cmp word [eax], dx
jne 0x51e3282a
mov bx, word [eax + 2]
cmp bx, word [edi + 2]
jne 0x51e3282a
cmp word [eax + 4], si
je 0x51e32834
dec ecx
add eax, 0xc
test ecx, ecx
jg 0x51e32815
jmp 0x51e32861
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x38]
and eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x51e3285b
mov eax, dword [esp + 0x70]
add edi, 4
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], eax
xor ebp, ebp
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x44]
test eax, eax
je 0x51e32916
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x51e32916
mov ecx, dword [esp + 0x20]
lea edi, [ecx - 2]
test edi, edi
je 0x51e32916
mov edx, dword [esp + 0x14]
mov si, word [edx + 4]
test si, si
jne 0x51e3289f
cmp dword [esp + 0xd4], 0xfffffffe
je 0x51e32916
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov ebx, dword [eax + 0x24]
mov eax, dword [eax + 0x2c]
mov cx, word [ebx + 0xa]
test ecx, ecx
jle 0x51e32916
mov dx, word [edx]
mov ebx, dword [esp + 0x1c]
cmp word [eax], dx
jne 0x51e328db
mov ebp, dword [esp + 0x14]
mov bx, word [eax + 2]
cmp bx, word [ebp + 2]
jne 0x51e328d3
cmp word [eax + 4], si
je 0x51e328e5
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
dec ecx
add eax, 0xc
test ecx, ecx
jg 0x51e328ba
jmp 0x51e3291a
mov ebx, dword [eax + 8]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0xac]
and ebx, ecx
test eax, eax
mov dword [esp + 0x1c], ebx
jne 0x51e32908
add ebp, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x44], 0
jmp 0x51e3291a
mov ebx, dword [esp + 0x1c]
test ebp, ebp
jne 0x51e32934
mov eax, dword [esp + 0x44]
test eax, eax
je 0x51e32a0a
jmp 0x51e329a0
mov ebx, dword [esp + 0x1c]
test ebp, ebp
je 0x51e32998
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x51e32998
mov ecx, dword [esp + 0x58]
xor eax, eax
mov edx, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
mov ax, word [edx + 8]
test eax, eax
jle 0x51e32998
mov esi, dword [esp + 0x10]
mov dx, word [esi]
cmp word [ecx], dx
jne 0x51e32966
mov di, word [ecx + 2]
cmp di, word [esi + 2]
je 0x51e32970
dec eax
add ecx, 8
test eax, eax
jg 0x51e32957
jmp 0x51e32998
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0xa0]
and ecx, edx
test eax, eax
mov dword [esp + 0x24], ecx
jne 0x51e32998
mov eax, dword [esp + 0x18]
add esi, 2
dec eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x51e32a0a
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x51e32a0a
mov ecx, dword [esp + 0x58]
xor eax, eax
mov edx, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
mov ax, word [edx + 8]
test eax, eax
jle 0x51e32a0a
mov esi, dword [esp + 0x14]
mov dx, word [esi]
cmp word [ecx], dx
jne 0x51e329d2
mov di, word [ecx + 2]
cmp di, word [esi + 2]
je 0x51e329dc
dec eax
add ecx, 8
test eax, eax
jg 0x51e329c3
jmp 0x51e32a0a
mov ebx, dword [ecx + 4]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0xac]
and ebx, ecx
test eax, eax
mov dword [esp + 0x1c], ebx
jne 0x51e32a0a
mov eax, dword [esp + 0x20]
add esi, 2
dec eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], eax
jmp 0x51e32a0a
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x51e32a29
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
sub ecx, 2
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xac]
test eax, eax
je 0x51df59ab
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
sub ecx, 2
inc eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
jmp 0x51df59ab
mov cl, dl
cmp cl, 0xb
ja 0x51e3337b
cmp cl, 3
jb 0x51e3337b
jmp 0x51df59ed
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov esi, 2
add edi, esi
dec ecx
mov dword [esp + 0x18], ecx
or ecx, 0xffffffff
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], ecx
jmp 0x51df5a01
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add edi, esi
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x51df5a09
cmp dl, 1
jne 0x51e32ac6
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add edi, esi
dec eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
cmp bl, 1
jne 0x51df5a18
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add edi, esi
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x51df5a18
cmp dl, 6
jne 0x51e32b07
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add edx, esi
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
cmp bl, 6
jne 0x51df5a27
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add edx, esi
dec eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x51df5a27
xor ecx, ecx
mov cl, byte [eax + 0x51e754a0]
jmp dword [ecx*4 + 0x51e03eb8]
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x51e32b67
mov eax, dword [esp + 0x60]
test eax, eax
je 0x51e32b55
test byte [esp + 0x40], 2
je 0x51e32b67
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], 3
and al, 0xfe
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add ecx, 2
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0xffffffff
jmp case.0x51e32b34.6
mov eax, dword [esp + 0x90]
test eax, eax
je case.0x51e32b34.6
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add ecx, 2
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0xffffffff
jmp case.0x51e32b34.6
mov eax, dword [esp + 0x54]
test eax, eax
je 0x51e32be1
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add ecx, 2
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0xffffffff
jmp case.0x51e32b34.6
mov eax, dword [esp + 0x8c]
test eax, eax
jne case.0x51e32b34.6
cmp byte [esp + 0xb4], 6
je case.0x51e32b34.6
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x51e32c18
mov dword [esp + 0x6c], 3
mov dword [esp + 0x54], 1
jmp 0x51e32c20
mov dword [esp + 0x5c], 3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add ecx, 2
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0xffffffff
jmp case.0x51e32b34.6
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x94], edx
mov edx, dword [0x51eb981c]
lea eax, [esp + 0xb8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x28]
and ecx, 0xff
mov dword [esp + 0xa4], 2
mov dword [esp + 0x24], 0xffffffff
mov dx, word [eax + ecx*4 + 2]
lea eax, [eax + ecx*4]
mov word [esp + 0xba], dx
mov cx, word [eax]
mov word [esp + 0xb8], cx
jmp case.0x51e32b34.6
mov bl, byte [esp + 0x27]
mov al, byte [esp + 0x24]
and bl, 0x3f
cmp al, 1
mov dword [esp + 0x3c], 0
mov ecx, 0xffff0000
ja 0x51e32e06
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc8]
add eax, 0xfffffffe
cmp eax, edx
jb 0x51e32e2d
mov ecx, dword [esp + 0x10]
mov ebp, 2
lea edi, [ecx - 2]
mov si, word [edi]
lea edx, [esp + 0x88]
mov ecx, esi
call fcn.51df5aac
mov edx, dword [0x51e895a0]
and edx, 0x3ff
cmp edx, 0x12
jne 0x51e32d51
mov al, byte [esp + 0x89]
cmp al, 3
jne 0x51e32d2e
mov al, byte [esp + 0x88]
test al, al
je 0x51e32d51
cmp al, 1
je 0x51e32d51
mov byte [esp + 0x89], 0x94
jmp 0x51e32d51
cmp al, 0xe
jb 0x51e32d51
cmp si, 0xe000
jb 0x51e32d40
cmp si, 0xf8ff
jbe 0x51e32d51
cmp al, 0x80
jae 0x51e32d48
add al, 0x72
jmp 0x51e32d4a
add al, 0x8e
mov byte [esp + 0x89], al
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x38]
and ecx, esi
mov dword [esp + 0x28], ecx
mov al, byte [esp + 0x29]
cmp al, 3
jae 0x51e32d79
cmp al, 2
mov ecx, 0xffff0000
je 0x51e32e2d
jmp 0x51e32d8c
jne 0x51e32e00
mov al, byte [esp + 0x28]
cmp al, 1
ja 0x51e32dac
mov ecx, 0xffff0000
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc8]
add ebp, 2
sub edi, 2
sub eax, ebp
cmp eax, edx
jae 0x51e32ce8
jmp 0x51e32e2d
xor cx, cx
mov cl, al
mov al, byte [esp + 0x2b]
or ch, 0x22
and al, 0x3f
mov word [esp + 0x28], cx
mov cl, al
and cl, 0xc6
mov byte [esp + 0x3c], cl
mov cl, al
and cl, 0xe4
mov byte [esp + 0x3e], cl
mov cl, byte [esp + 0x24]
test cl, cl
mov ecx, dword [esp + 0x28]
jne 0x51e32dee
and al, 0xc5
mov dword [esp + 0x44], ecx
mov byte [esp + 0x3d], 4
mov byte [esp + 0x3f], al
jmp 0x51e32e34
mov eax, ecx
mov byte [esp + 0x3d], 5
and eax, 0xff87
mov dword [esp + 0x44], eax
jmp 0x51e32e26
mov dword [esp + 0x44], ecx
jmp 0x51e32e2d
movzx ax, al
or ah, 0x22
mov byte [esp + 0x3d], 3
mov dword [esp + 0x44], eax
mov al, bl
and al, 0xc6
mov byte [esp + 0x3c], al
mov al, bl
and al, 0xe4
mov byte [esp + 0x3e], al
and bl, 0xc5
mov byte [esp + 0x3f], bl
cmp byte [esp + 0x24], 1
ja 0x51e32e52
cmp ecx, 0xffff0000
jne 0x51e32e52
mov dword [esp + 0x44], 0xffff
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], 0
jmp 0x51e32e70
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
and edx, 0xffff0000
and eax, 0xffff
or edx, eax
mov dword [esp + 0x24], edx
mov byte [esp + 0x27], 2
cmp byte [esp + 0xb4], 3
je case.0x51e32b34.6
mov al, byte [esp + 0x30]
test al, al
jne 0x51e32e93
mov al, byte [esp + 0x3c]
test al, al
je 0x51e32e93
mov byte [esp + 0x30], 3
mov al, byte [esp + 0x31]
test al, al
jne 0x51e32ea8
mov al, byte [esp + 0x3d]
test al, al
je 0x51e32ea8
mov byte [esp + 0x31], 3
mov al, byte [esp + 0x32]
test al, al
jne 0x51e32ebd
mov al, byte [esp + 0x3e]
test al, al
je 0x51e32ebd
mov byte [esp + 0x32], 3
mov al, byte [esp + 0x33]
test al, al
jne case.0x51e32b34.6
mov al, byte [esp + 0x3f]
test al, al
je case.0x51e32b34.6
mov byte [esp + 0x33], 3
jmp case.0x51e32b34.6
xor edx, edx
mov dl, byte [eax + 0x51e754b0]
jmp dword [edx*4 + 0x51e03ed0]
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x51e32f1a
mov eax, dword [esp + 0x60]
test eax, eax
je 0x51e32f08
test byte [esp + 0x40], 2
je 0x51e32f1a
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], 1
and al, 0xfe
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add ecx, 2
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0xffffffff
jmp case.0x51e32ee7.6
mov eax, dword [esp + 0x90]
test eax, eax
je case.0x51e32ee7.6
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add ecx, 2
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0xffffffff
jmp case.0x51e32ee7.6
mov eax, dword [esp + 0x54]
test eax, eax
je 0x51e32f94
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add ecx, 2
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0xffffffff
jmp case.0x51e32ee7.6
mov eax, dword [esp + 0x8c]
test eax, eax
jne case.0x51e32ee7.6
mov al, byte [esp + 0xa8]
cmp al, 6
mov eax, dword [esp + 0x5c]
je 0x51e32fcf
test eax, eax
je 0x51e32fc5
mov eax, 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], eax
jmp 0x51e33028
mov dword [esp + 0x6c], 1
jmp 0x51e33028
test eax, eax
je 0x51e32fdd
mov dword [esp + 0x5c], 1
jmp 0x51e33004
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x51e32fef
mov dword [esp + 0x6c], 3
jmp 0x51e33004
mov al, byte [esp + 0x24]
mov bl, byte [esp + 0x1c]
cmp al, bl
sbb eax, eax
and al, 0xfe
add eax, 3
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add ecx, 2
dec eax
mov dword [esp + 0x54], 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0xffffffff
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add ecx, 2
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0xffffffff
jmp case.0x51e32ee7.6
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0xbc]
mov dword [esp + 0x98], ecx
mov ecx, dword [0x51eb981c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xb0], 2
inc edx
and eax, 0xff
mov dword [esp + 0x20], edx
mov edx, dword [ecx + 0x28]
mov cx, word [edx + eax*4]
mov dword [esp + 0x1c], 0xffffffff
lea eax, [edx + eax*4]
mov word [esp + 0xbc], cx
mov dx, word [eax + 2]
mov word [esp + 0xbe], dx
jmp case.0x51e32ee7.6
mov al, byte [esp + 0x1f]
mov dword [esp + 0x28], 0
and al, 0x3f
mov ecx, 0xffff0000
mov byte [esp + 0x2f], al
mov al, byte [esp + 0x1c]
cmp al, 1
ja 0x51e33255
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0xd0]
lea eax, [edi - 2]
cmp eax, edx
jb 0x51e331ab
mov ebp, dword [esp + 0x14]
mov ebx, 2
add edi, 0xfffffffe
mov si, word [edi]
lea edx, [esp + 0x80]
mov ecx, esi
call fcn.51df5aac
mov ecx, dword [0x51e895a0]
and ecx, 0x3ff
cmp ecx, 0x12
jne 0x51e3315b
mov al, byte [esp + 0x81]
cmp al, 3
jne 0x51e33138
mov al, byte [esp + 0x80]
test al, al
je 0x51e3315b
cmp al, 1
je 0x51e3315b
mov byte [esp + 0x81], 0x94
jmp 0x51e3315b
cmp al, 0xe
jb 0x51e3315b
cmp si, 0xe000
jb 0x51e3314a
cmp si, 0xf8ff
jbe 0x51e3315b
cmp al, 0x80
jae 0x51e33152
add al, 0x72
jmp 0x51e33154
add al, 0x8e
mov byte [esp + 0x81], al
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x38]
and ecx, esi
mov dword [esp + 0x50], ecx
mov al, byte [esp + 0x51]
cmp al, 3
jae 0x51e3317f
cmp al, 2
mov ecx, 0xffff0000
je 0x51e331ab
jmp 0x51e33192
jne 0x51e3324c
mov al, byte [esp + 0x50]
cmp al, 1
ja 0x51e331f4
mov ecx, 0xffff0000
mov eax, dword [esp + 0xd0]
add ebx, 2
mov edx, ebp
sub edi, 2
sub edx, ebx
cmp edx, eax
jae 0x51e330f2
mov bl, byte [esp + 0x2a]
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x1c]
cmp al, 1
mov al, byte [esp + 0x2b]
ja 0x51e33280
cmp ecx, 0xffff0000
jne 0x51e33280
mov dword [esp + 0x28], 0
mov dword [esp + 0x4c], 0xffff
mov al, byte [esp + 0x2b]
mov bl, byte [esp + 0x2a]
mov dl, byte [esp + 0x28]
mov dword [esp + 0x1c], ecx
jmp 0x51e3329f
movzx ax, al
or ah, 0x22
mov cl, byte [esp + 0x1c]
mov word [esp + 0x50], ax
mov al, byte [esp + 0x53]
and al, 0x3f
mov dl, al
mov bl, al
and dl, 0xc6
and bl, 0xe4
test cl, cl
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x2a], bl
jne 0x51e3322d
mov dword [esp + 0x4c], ecx
mov byte [esp + 0x29], 4
and al, 0xc5
jmp 0x51e331c3
mov eax, ecx
mov byte [esp + 0x29], 5
and eax, 0xff87
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0x2f]
and al, 0xc5
mov byte [esp + 0x2b], al
jmp 0x51e331b3
mov dword [esp + 0x4c], ecx
jmp 0x51e331ab
movzx ax, byte [esp + 0x1c]
or ah, 0x22
mov byte [esp + 0x29], 3
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0x2f]
mov dl, al
mov bl, al
and dl, 0xc6
and bl, 0xe4
and al, 0xc5
mov byte [esp + 0x2b], al
jmp 0x51e331b3
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x4c]
and ecx, 0xffff0000
and esi, 0xffff
or ecx, esi
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x1f], 2
mov cl, byte [esp + 0xa8]
cmp cl, 3
mov cl, byte [esp + 0x30]
je 0x51e33300
test cl, cl
jne 0x51e332bc
test dl, dl
je 0x51e332bc
mov byte [esp + 0x30], 1
mov cl, byte [esp + 0x31]
test cl, cl
jne 0x51e332d1
mov cl, byte [esp + 0x29]
test cl, cl
je 0x51e332d1
mov byte [esp + 0x31], 1
mov cl, byte [esp + 0x32]
test cl, cl
jne 0x51e332e2
test bl, bl
je 0x51e332e2
mov byte [esp + 0x32], 1
mov cl, byte [esp + 0x33]
test cl, cl
jne case.0x51e32ee7.6
test al, al
je case.0x51e32ee7.6
mov byte [esp + 0x33], 1
jmp case.0x51e32ee7.6
test cl, cl
jne 0x51e33318
mov cl, byte [esp + 0x3c]
cmp cl, dl
je 0x51e33318
sbb cl, cl
and cl, 0xfe
add cl, 3
mov byte [esp + 0x30], cl
mov cl, byte [esp + 0x31]
test cl, cl
jne 0x51e33338
mov cl, byte [esp + 0x3d]
mov dl, byte [esp + 0x29]
cmp cl, dl
je 0x51e33338
sbb cl, cl
and cl, 0xfe
add cl, 3
mov byte [esp + 0x31], cl
mov cl, byte [esp + 0x32]
test cl, cl
jne 0x51e33354
mov cl, byte [esp + 0x3e]
cmp cl, bl
je 0x51e33354
sbb cl, cl
and cl, 0xfe
add cl, 3
mov byte [esp + 0x32], cl
mov cl, byte [esp + 0x33]
test cl, cl
jne case.0x51e32ee7.6
mov cl, byte [esp + 0x3f]
cmp cl, al
je case.0x51e32ee7.6
sbb al, al
and al, 0xfe
add al, 3
mov byte [esp + 0x33], al
jmp case.0x51e32ee7.6
test byte [esp + 0x40], 3
je 0x51e334ff
mov al, byte [esp + 0x26]
mov cl, byte [esp + 0x1e]
cmp al, cl
mov byte [esp + 0x4b], al
mov byte [esp + 0x2f], cl
je 0x51e334ff
mov ebp, dword [esp + 0x18]
lea edx, [ebp - 1]
test edx, edx
je 0x51e3343e
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0xcc]
mov si, word [edi + 2]
test si, si
jne 0x51e333c6
cmp ebx, 0xfffffffe
je 0x51e3343e
lea edx, [esp + 0x64]
mov ecx, esi
call fcn.51df5aac
mov eax, dword [0x51e895a0]
and eax, 0x3ff
cmp eax, 0x12
mov al, byte [esp + 0x65]
jne 0x51e33408
cmp al, 3
je 0x51e3342d
cmp al, 0xe
jb 0x51e33408
cmp si, 0xe000
jb 0x51e333fa
cmp si, 0xf8ff
jbe 0x51e33408
cmp al, 0x80
jae 0x51e33402
add al, 0x72
jmp 0x51e33404
add al, 0x8e
mov byte [esp + 0x65], al
cmp al, 1
jne 0x51e3343e
mov cl, byte [esp + 0x66]
mov dl, byte [esp + 0x4b]
add dl, cl
add edi, 2
dec ebp
mov byte [esp + 0x4b], dl
cmp ebp, 1
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ebp
je 0x51e3343e
jmp 0x51e333b8
mov al, byte [esp + 0x64]
test al, al
je 0x51e3343e
cmp al, 1
je 0x51e3343e
mov byte [esp + 0x65], 0x94
mov ebp, dword [esp + 0x20]
lea edx, [ebp - 1]
test edx, edx
je 0x51e334de
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0xd4]
mov si, word [edi + 2]
test si, si
jne 0x51e33466
cmp ebx, 0xfffffffe
je 0x51e334de
lea edx, [esp + 0x68]
mov ecx, esi
call fcn.51df5aac
mov eax, dword [0x51e895a0]
and eax, 0x3ff
cmp eax, 0x12
mov al, byte [esp + 0x69]
jne 0x51e334a8
cmp al, 3
je 0x51e334cd
cmp al, 0xe
jb 0x51e334a8
cmp si, 0xe000
jb 0x51e3349a
cmp si, 0xf8ff
jbe 0x51e334a8
cmp al, 0x80
jae 0x51e334a2
add al, 0x72
jmp 0x51e334a4
add al, 0x8e
mov byte [esp + 0x69], al
cmp al, 1
jne 0x51e334de
mov cl, byte [esp + 0x6a]
mov dl, byte [esp + 0x2f]
add dl, cl
add edi, 2
dec ebp
mov byte [esp + 0x2f], dl
cmp ebp, 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], ebp
je 0x51e334de
jmp 0x51e33458
mov al, byte [esp + 0x68]
test al, al
je 0x51e334de
cmp al, 1
je 0x51e334de
mov byte [esp + 0x69], 0x94
mov cl, byte [esp + 0x4b]
mov al, byte [esp + 0x2f]
cmp cl, al
je 0x51e334ff
sbb eax, eax
and al, 0xfe
add eax, 3
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x40]
and al, 0xfe
mov dword [esp + 0x40], eax
test byte [esp + 0x40], 4
je 0x51e33536
mov cl, byte [esp + 0x1f]
mov al, byte [esp + 0x27]
mov dl, cl
xor dl, al
test dl, 0x3f
je 0x51e33536
and cl, 0x3f
and al, 0x3f
cmp al, cl
sbb eax, eax
and al, 0xfe
add eax, 3
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x40]
and al, 0xfb
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x94]
xor ecx, ecx
cmp eax, ecx
je 0x51e3355f
mov edx, dword [esp + 0xa4]
dec edx
mov dword [esp + 0xa4], edx
jne 0x51e3355f
mov dword [esp + 0x10], eax
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0x98]
cmp eax, ecx
je 0x51e33586
mov edx, dword [esp + 0xb0]
dec edx
mov dword [esp + 0xb0], edx
jne 0x51e33586
mov dword [esp + 0x14], eax
mov dword [esp + 0x98], ecx
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, 2
add esi, eax
add edx, eax
mov eax, dword [esp + 0x20]
dec ecx
dec eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], eax
or eax, 0xffffffff
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x51df5905
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x51e337e5
mov ebx, dword [esp + 0x14]
cmp word [ebx], 0
jne 0x51e335f3
cmp dword [esp + 0xd4], 0xfffffffe
je 0x51e337e5
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x54], 1
mov dword [esp + 0xcc], ecx
test eax, eax
mov dword [esp + 0x8c], eax
je 0x51e3370d
mov ebp, dword [esp + 0xcc]
mov si, word [ebx]
test si, si
jne 0x51e33630
cmp ebp, 0xfffffffe
je 0x51e3370d
lea edx, [esp + 0x70]
mov ecx, esi
call fcn.51df5aac
mov edx, dword [0x51e895a0]
and edx, 0x3ff
cmp edx, 0x12
jne 0x51e336bb
mov al, byte [esp + 0x71]
cmp al, 3
jne 0x51e3369b
mov al, byte [esp + 0x70]
test al, al
je 0x51e336bb
cmp al, 1
je 0x51e336bb
mov byte [esp + 0x71], 0x94
jmp 0x51e336bb
mov eax, dword [esp + 0x18]
test eax, eax
je 0x51e335c8
cmp word [ebx], 0
jne 0x51e33687
cmp dword [esp + 0xcc], 0xfffffffe
je 0x51e335c8
mov edi, dword [esp + 0x84]
mov dword [esp + 0x54], 3
jmp 0x51e33609
cmp al, 0xe
jb 0x51e336bb
cmp si, 0xe000
jb 0x51e336ad
cmp si, 0xf8ff
jbe 0x51e336bb
cmp al, 0x80
jae 0x51e336b5
add al, 0x72
jmp 0x51e336b7
add al, 0x8e
mov byte [esp + 0x71], al
mov eax, dword [esp + 0x71]
and eax, 0xff
cmp eax, 0xb
ja case.0x51e336d5.3
xor ecx, ecx
mov cl, byte [eax + 0x51e754cc]
jmp dword [ecx*4 + 0x51e754bc]
test edi, edi
jne case.0x51e336d5.0
mov eax, dword [esp + 0x60]
test eax, eax
je case.0x51e336d5.3
jmp case.0x51e336d5.0
mov eax, dword [esp + 0x90]
test eax, eax
je case.0x51e336d5.3
mov eax, dword [esp + 0x8c]
add ebx, 2
dec eax
mov dword [esp + 0x8c], eax
jne 0x51e3361f
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x51e33864
mov eax, dword [esp + 0x9c]
test eax, eax
jne 0x51e33864
mov eax, dword [esp + 0x30]
test eax, eax
je 0x51e337bb
test edi, edi
jne 0x51e3377f
mov cl, al
test cl, cl
je 0x51e33761
pop edi
pop esi
pop ebp
and eax, 0xff
pop ebx
add esp, 0xb4
ret 0x14
mov eax, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 0x14
mov al, byte [esp + 0x31]
test al, al
je 0x51e3377f
mov eax, dword [esp + 0x31]
pop edi
pop esi
pop ebp
and eax, 0xff
pop ebx
add esp, 0xb4
ret 0x14
mov al, byte [esp + 0x32]
test al, al
je 0x51e3379d
mov eax, dword [esp + 0x32]
pop edi
pop esi
pop ebp
and eax, 0xff
pop ebx
add esp, 0xb4
ret 0x14
mov al, byte [esp + 0x33]
test al, al
je 0x51e337bb
mov eax, dword [esp + 0x33]
pop edi
pop esi
pop ebp
and eax, 0xff
pop ebx
add esp, 0xb4
ret 0x14
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x51e33864
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x51e33864
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0xb4
ret 0x14
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x51e33864
mov eax, dword [esp + 0x9c]
test eax, eax
jne 0x51e33864
mov eax, dword [esp + 0x30]
test eax, eax
je 0x51e337bb
test edi, edi
jne 0x51e33838
test al, al
je 0x51e3381a
pop edi
pop esi
pop ebp
and eax, 0xff
pop ebx
add esp, 0xb4
ret 0x14
mov al, byte [esp + 0x31]
test al, al
je 0x51e33838
mov eax, dword [esp + 0x31]
pop edi
pop esi
pop ebp
and eax, 0xff
pop ebx
add esp, 0xb4
ret 0x14
mov al, byte [esp + 0x32]
test al, al
je 0x51e3379d
mov eax, dword [esp + 0x32]
pop edi
pop esi
pop ebp
and eax, 0xff
pop ebx
add esp, 0xb4
ret 0x14
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 0x14