Function at 0x10033160
Capabilities:
Check http status code

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1003f6e4]
xor eax, ebp
mov dword [ebp - 4], eax
movzx ecx, word [ebp + 8]
mov eax, dword [ebp + 0x1c]
push ebx
mov dword [ebp - 0x100], ecx
xor ebx, ebx
movsx ecx, cx
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xd0]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xf8], eax
lea eax, [ecx + 0x1c]
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0x104], eax
push edi
mov edi, edx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0xf4], edx
cmp eax, 0x79
ja case.0x100331df.3
movzx eax, byte [eax + 0x1003408c]
jmp dword [eax*4 + 0x10034044]
mov esi, dword [ebp + 0xc]
lea eax, [edx - 1]
mov ebx, dword [ebp - 0xe4]
mov ecx, esi
push 0
push 0
push eax
push ebx
shr ecx, 1
push ecx
push edi
push 0
push 0
mov dword [ebp - 0x100], ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test esi, esi
jle 0x10033216
test eax, eax
je 0x10033246
mov ecx, dword [ebp - 0xf4]
cmp eax, ecx
jge 0x1003324c
mov byte [ebx + eax], 0
mov ecx, dword [ebp - 0xe8]
mov dword [ecx], eax
mov ax, word [ebp - 0xfc]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xfc], 0x6e
test ecx, ecx
jle 0x1003325f
mov byte [ecx + ebx - 1], 0
push 0
push 0
push 0
push ebx
push dword [ebp - 0x100]
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x10033224
add ecx, 0x1a
cmp ecx, 0x1f
ja case.0x10033288.25
movzx eax, byte [ecx + 0x10034118]
jmp dword [eax*4 + 0x10034108]
movsx eax, byte [edi]
jmp 0x100332a3
movsx eax, word [edi]
jmp 0x100332a3
mov eax, dword [edi]
jmp 0x100332a3
mov eax, dword [ebp - 0x104]
push 0xa
lea ecx, [ebp - 0xd0]
push ecx
push eax
call dword [sym.imp.msvcrt.dll__ltoa]
lea ebx, [ebp - 0xd0]
add esp, 0xc
lea ecx, [ebx + 1]
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100332c0
jmp 0x10033e77
cmp ecx, 0xffffffe4
je 0x100332ec
cmp ecx, 0xffffffee
je 0x100332e8
cmp ecx, 0xffffffef
jne 0x100332e0
movzx eax, word [edi]
jmp 0x100332ef
mov eax, dword [ebp - 0x104]
jmp 0x100332ef
mov eax, dword [edi]
jmp 0x100332ef
movzx eax, byte [edi]
push 0xa
lea ecx, [ebp - 0xd0]
push ecx
push eax
call dword [sym.imp.msvcrt.dll__ultoa]
lea ebx, [ebp - 0xd0]
add esp, 0xc
lea ecx, [ebx + 1]
jmp 0x10033310
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10033310
jmp 0x10033e77
mov ecx, dword [edi]
lea esi, [ebp - 0xd0]
mov edx, dword [edi + 4]
mov dword [ebp - 0xec], ecx
lea ecx, [ecx]
push 0
push 0xa
push edx
push ecx
call fcn.1003a760
mov cl, al
mov dword [ebp - 0xf0], eax
shl cl, 2
lea ebx, [ecx + eax]
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xf0]
add bl, bl
sub al, bl
mov dword [ebp - 0xec], ecx
add al, 0x30
lea ebx, [esi + 1]
mov byte [esi], al
mov eax, ecx
or eax, edx
lea esi, [ebx]
jne 0x10033330
mov byte [ebx], al
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.msvcrt.dll__mbsrev]
mov esi, dword [ebp - 0xe4]
lea ecx, [ebp - 0xd0]
add esp, 4
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033390
sub ecx, edx
movsx ebx, cx
jmp 0x10033e79
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov dword [ebp - 0xec], 1
mov dword [ebp - 0xf0], ecx
test edx, edx
jg 0x100333d2
jl 0x100333c0
test ecx, ecx
jae 0x100333d2
neg ecx
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0xf0], ecx
adc edx, ebx
neg edx
lea esi, [ebp - 0xd0]
push 0
push 0xa
push edx
push ecx
call fcn.1003a760
mov cl, al
mov dword [ebp - 0xd4], eax
shl cl, 2
lea ebx, [ecx + eax]
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xd4]
add bl, bl
sub al, bl
mov dword [ebp - 0xf0], ecx
add al, 0x30
lea ebx, [esi + 1]
mov byte [esi], al
mov eax, ecx
or eax, edx
mov esi, ebx
jne 0x100333d8
mov esi, dword [ebp - 0xe4]
cmp dword [ebp - 0xec], eax
jne 0x10033428
mov byte [ebx], 0x2d
inc ebx
lea eax, [ebp - 0xd0]
mov byte [ebx], 0
push eax
call dword [sym.imp.msvcrt.dll__mbsrev]
lea ecx, [ebp - 0xd0]
add esp, 4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033444
sub ecx, edx
movsx ebx, cx
jmp 0x10033e79
movzx eax, word [edi + 6]
push eax
movzx eax, word [edi + 4]
push eax
push dword [edi]
lea eax, [ebp - 0xd0]
push 0x10004784
push 0xc8
push eax
call dword [sym.imp.msvcrt.dll_sprintf_s]
mov ebx, 0x13
mov esi, 8
add esp, 0x18
mov edx, ebx
add edi, esi
lea esp, [esp]
mov cl, byte [edi]
mov al, 9
shr cl, 4
cmp al, cl
sbb al, al
add cl, 0x30
and al, 7
add al, cl
mov byte [ebp + ebx - 0xd0], al
mov al, 9
mov cl, byte [edi]
lea ebx, [edx + 2]
and cl, 0xf
cmp al, cl
sbb al, al
inc edi
and al, 7
add al, 0x30
add al, cl
mov byte [ebp + edx - 0xcf], al
mov edx, ebx
cmp esi, 9
jne 0x100334d9
lea edx, [ebx + 1]
mov byte [ebp + ebx - 0xd0], 0x2d
mov ebx, edx
inc esi
cmp esi, 0x10
jl 0x10033490
mov esi, dword [ebp - 0xe4]
cmp edx, 0xc8
jae 0x1003403d
mov byte [ebp + edx - 0xd0], 0
jmp 0x10033e79
cmp dword [ebp + 0xc], 4
jne 0x10033519
movzx eax, word [edi]
mov dword [ebp - 0xd8], eax
movzx eax, word [edi + 2]
imul eax, eax, 0x4650
jmp 0x10033524
mov eax, dword [edi]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 4]
cmp word [ebp + 0x14], 0x62
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xd4], eax
je 0x10033566
mov ebx, 0x13
lea eax, [ebp - 0xd0]
push 0xc8
push eax
lea edx, [ebx - 0x12]
call fcn.10038000
cmp dword [ebp + 0xc], 4
jne 0x10033e79
mov byte [ebp - 0xbd], 0
jmp 0x10033e79
push 0x64
lea eax, [ebp - 0x6c]
xor edx, edx
push eax
call fcn.10038000
lea edi, [ebp - 0x6c]
xor eax, eax
mov word [ebp - 0xdc], ax
mov eax, dword [edi]
mov dword [ebp - 0xe0], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xda], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0xd6], eax
mov eax, 0x431bde83
mul dword [edi + 0xc]
push 0xc8
lea eax, [ebp - 0xd0]
shr edx, 0x12
push eax
push 0
lea eax, [ebp - 0xe0]
mov word [ebp - 0xd2], dx
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
mov ecx, dword [ebp - 0xe8]
push 0xc8
mov dword [ecx], eax
lea ecx, [ebp - 0xd0]
add eax, ecx
push eax
push 0
mov byte [eax - 1], 0x20
lea eax, [ebp - 0xe0]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
mov ecx, dword [ebp - 0xe8]
lea edx, [ebp - 0xd0]
mov dword [ebp - 0xf8], edx
add dword [ecx], eax
jmp 0x10033e7f
mov ax, word [ebp + 0x14]
cmp ax, 0x62
je 0x10033576
dec ax
lea ecx, [ebp - 0x6c]
movsx edx, ax
neg edx
push 0x64
sbb edx, edx
and edx, 0xd
push ecx
mov ecx, dword [0x10041578]
add edx, 0xb4aa
call fcn.100396a0
test eax, eax
je 0x10033b1b
lea ecx, [ebp - 0x6c]
mov ebx, 0x13
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033660
sub ecx, edx
lea eax, [ebp - 0x6d]
add eax, ecx
mov edi, edi
mov cl, byte [eax]
cmp cl, 0x30
jb 0x1003367c
cmp cl, 0x39
jbe 0x1003367f
dec eax
jmp 0x10033670
mov eax, dword [edi + 0xc]
movzx edx, cl
mov ecx, 0x100048e4
shl edx, 2
sub ecx, edx
xor edx, edx
div dword [ecx]
push eax
movzx eax, word [edi + 0xa]
mov esi, edx
push eax
movzx eax, word [edi + 8]
push eax
movzx eax, word [edi + 6]
push eax
movzx eax, word [edi + 4]
push eax
movzx eax, word [edi + 2]
push eax
movsx eax, word [edi]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0xd0]
push 0xc8
push eax
call dword [sym.imp.msvcrt.dll_sprintf_s]
add esp, 0x28
lea edx, [ebp - 0xd0]
neg esi
mov dword [ebp - 0xf8], edx
sbb esi, esi
and esi, 0xd
mov eax, esi
mov esi, dword [ebp - 0xe4]
mov dword [ebp - 0xfc], eax
jmp 0x10033e7f
mov ax, word [ebp + 0x14]
cmp ax, 1
je 0x1003373a
cmp ax, 0xfff8
je 0x1003373a
mov ecx, dword [0x10041578]
lea eax, [ebp - 0x6c]
push 0x64
push eax
mov edx, 0xb4b5
mov dword [ebp - 0xec], eax
call fcn.100396a0
test eax, eax
jne 0x10033744
mov eax, 0xd
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x18
mov dword [ebp - 0xec], 0x1000455c
movzx eax, word [edi + 4]
mov ebx, 0xa
push eax
movzx eax, word [edi + 2]
push eax
movsx eax, word [edi]
push eax
push dword [ebp - 0xec]
lea eax, [ebp - 0xd0]
push 0xc8
push eax
call dword [sym.imp.msvcrt.dll_sprintf_s]
add esp, 0x18
jmp 0x10033e79
mov ax, word [ebp + 0x14]
cmp ax, 1
je 0x100337bf
cmp ax, 0xfff8
je 0x100337bf
mov ecx, dword [0x10041578]
lea eax, [ebp - 0x6c]
push 0x64
push eax
mov edx, 0xb4b6
mov dword [ebp - 0xec], eax
call fcn.100396a0
test eax, eax
jne 0x100337c9
mov eax, 0xd
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x18
mov dword [ebp - 0xec], 0x1000456c
movzx eax, word [edi + 4]
mov ebx, 8
push eax
movzx eax, word [edi + 2]
push eax
movzx eax, word [edi]
jmp 0x10033756
cmp dword [ebp + 0xc], 4
jne 0x100337fe
mov eax, dword [edi]
xor ecx, ecx
test eax, eax
mov dword [ebp - 0xd8], eax
setns cl
dec ecx
mov dword [ebp - 0xd4], ecx
jmp 0x1003380f
mov eax, dword [edi + 4]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi]
mov dword [ebp - 0xd4], eax
push 0
push 4
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0xd8]
call fcn.100382a0
cwde
mov byte [ebp + eax - 0xd0], bl
lea ebx, [eax - 5]
test ebx, ebx
jne 0x10033838
mov ebx, 1
lea ecx, [ebp - 0xd0]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033841
mov eax, dword [ebp - 0xf4]
sub ecx, edx
cmp ecx, eax
jb 0x10033e79
mov edx, eax
lea ecx, [ebp - 0xd0]
call fcn.100388e0
mov edx, eax
mov dword [ebp - 0xf8], edx
jmp 0x10033e7f
push 0xc8
lea edx, [ebp - 0xd0]
mov ecx, edi
call fcn.10039260
test eax, eax
je 0x10033f93
lea eax, [ebp - 0xd0]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_strchr]
add esp, 8
test eax, eax
je 0x100338dc
lea eax, [ebp - 0xd0]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_strchr]
mov ebx, eax
add esp, 8
lea eax, [ebp - 0xd0]
sub ebx, eax
jne 0x100338c5
mov ebx, 1
lea ecx, [ebp - 0xd0]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100338d0
jmp 0x10033848
lea ebx, [ebp - 0xd0]
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100338e5
jmp 0x10033e77
sub ecx, 7
je 0x10033910
sub ecx, 1
jne 0x10033902
fld qword [edi]
lea edx, [ecx + 0xf]
jmp 0x1003397d
fld qword [ebp - 0x108]
mov edx, dword [ebp - 0x104]
jmp 0x1003397d
fld dword [edi]
fstp dword [ebp - 0xf0]
fld dword [ebp - 0xf0]
fld st(0)
fldz
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x1003393d
fxch st(1)
fchs
fstp dword [ebp - 0xf0]
fld dword [ebp - 0xf0]
fxch st(1)
cmp word [ebp + 0x14], 1
je 0x10033976
fld st(1)
fld qword [0x10004c08]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x1003396d
fld dword [0x10004ba0]
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x10033978
mov edx, 9
jmp 0x1003397d
fstp st(1)
mov edx, 9
jmp 0x1003397d
fstp st(1)
mov edx, 7
mov ecx, dword [ebp - 0xf4]
lea eax, [ebp - 0xec]
sub esp, 8
fstp qword [esp]
push eax
push ecx
lea ecx, [ebp - 0xd0]
call fcn.10055869
test eax, eax
jne 0x10033f93
lea ecx, [ebp - 0xd0]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100339b0
mov eax, dword [ebp - 0xf4]
sub ecx, edx
cmp ecx, eax
jb 0x100339e3
mov edx, eax
lea ecx, [ebp - 0xd0]
call fcn.100388e0
mov ebx, dword [ebp - 0xec]
mov edx, eax
mov dword [ebp - 0xf8], edx
jmp 0x10033e7f
mov ebx, dword [ebp - 0xec]
jmp 0x10033e79
mov ecx, dword [ebp - 0xe8]
mov edx, edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf8], edx
mov dword [ecx], eax
jmp 0x10033e7f
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xe8]
lea ebx, [ecx + ecx]
mov dword [eax], ebx
lea eax, [edx - 1]
cmp ebx, eax
jle 0x10033a4b
xor ebx, ebx
test eax, eax
push ecx
sets bl
mov ecx, edi
dec ebx
and ebx, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov edx, eax
call fcn.10039640
neg eax
sbb eax, eax
and eax, 0xffffff80
add eax, 0xee
movzx eax, ax
mov dword [ebp - 0xfc], eax
cmp ebx, 1
jle 0x10033a8a
lea edx, [ebx - 2]
shr edx, 1
inc edx
mov cl, byte [edi]
lea edi, [edi + 1]
shr cl, 4
mov al, 9
cmp al, cl
sbb al, al
add cl, 0x30
and al, 7
add al, cl
mov byte [esi], al
mov al, 9
mov cl, byte [edi - 1]
and cl, 0xf
cmp al, cl
sbb al, al
and al, 7
add al, 0x30
add al, cl
mov byte [esi + 1], al
add esi, 2
sub edx, 1
jne 0x10033a56
cmp dword [ebp - 0xf4], 0
je 0x1003400b
mov ax, word [ebp - 0xfc]
mov byte [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x18
movzx eax, word [edi + 0x1e]
cmp ax, 9
jg 0x10033e49
cwde
mov ecx, 0x10004824
shl eax, 2
xor edx, edx
sub ecx, eax
mov eax, dword [edi + 0x18]
div dword [ecx]
mov ecx, dword [ebp - 0xf0]
test edx, edx
je case.0x100331df.13
mov dword [ebp - 0xfc], 0xd
mov ax, word [ebp + 0x14]
cmp ax, 1
je 0x10033b33
cmp ax, 0xfff8
je 0x10033b33
lea ebx, [ebp - 0x6c]
push 0x64
mov eax, ebx
mov dword [ebp - 0xe4], ebx
lea edx, [ecx + 0xb597]
mov ecx, dword [0x10041578]
push eax
call fcn.100396a0
test eax, eax
jne 0x10033b40
mov eax, 0xd
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ecx*4 + 0x10001874]
mov dword [ebp - 0xe4], eax
movzx eax, word [edi + 0x1e]
test ax, ax
jle 0x10033b8a
push dword [edi + 0x18]
lea eax, [ebp - 0xdc]
push 0x10004794
push 0xb
push eax
call dword [sym.imp.msvcrt.dll_sprintf_s]
movzx ecx, word [edi + 0x1e]
add esp, 0x10
movsx eax, cx
inc eax
cmp eax, 0xa
jae 0x10033b7b
cmp eax, 0xb
jae 0x1003403d
jmp 0x10033b80
mov eax, 0xa
mov byte [ebp + eax - 0xdc], 0
jmp 0x10033b93
mov byte [ebp - 0xdc], 0
mov ecx, eax
mov eax, dword [ebp - 0xf0]
mov ebx, dword [edi + 8]
add eax, 0xfffffff3
cmp eax, 0xc
ja case.default.0x10033ba8
jmp dword [eax*4 + 0x10034138]
movsx eax, word [edi + 0x1c]
push eax
xor eax, eax
cmp word [edi + 4], 1
push ebx
sete al
lea eax, [eax*2 + 0x2b]
push eax
push dword [ebp - 0xe4]
lea eax, [ebp - 0xd0]
push 0xc8
push eax
call dword [sym.imp.msvcrt.dll_sprintf_s]
add esp, 0x18
jmp case.default.0x10033ba8
movsx eax, word [edi + 0x1c]
push eax
push dword [edi + 0xc]
xor eax, eax
cmp word [edi + 4], 1
sete al
lea eax, [eax*2 + 0x2b]
push eax
push dword [ebp - 0xe4]
lea eax, [ebp - 0xd0]
push 0xc8
push eax
call dword [sym.imp.msvcrt.dll_sprintf_s]
mov ebx, dword [edi + 0xc]
add esp, 0x18
jmp case.default.0x10033ba8
movsx eax, word [edi + 0x1c]
push eax
push dword [edi + 0x10]
xor eax, eax
cmp word [edi + 4], 1
sete al
lea eax, [eax*2 + 0x2b]
push eax
push dword [ebp - 0xe4]
lea eax, [ebp - 0xd0]
push 0xc8
push eax
call dword [sym.imp.msvcrt.dll_sprintf_s]
add esp, 0x18
jmp 0x10033e39
movsx eax, cx
push eax
movsx eax, word [edi + 0x1c]
push eax
lea eax, [ebp - 0xdc]
push eax
push dword [edi + 0x14]
xor eax, eax
cmp word [edi + 4], 1
sete al
lea eax, [eax*2 + 0x2b]
push eax
push dword [ebp - 0xe4]
lea eax, [ebp - 0xd0]
push 0xc8
push eax
call dword [sym.imp.msvcrt.dll_sprintf_s]
mov ebx, dword [edi + 0x14]
add esp, 0x20
jmp case.default.0x10033ba8
movsx eax, word [edi + 0x1c]
push eax
push dword [edi + 0xc]
xor eax, eax
cmp word [edi + 4], 1
push ebx
sete al
lea eax, [eax*2 + 0x2b]
push eax
push dword [ebp - 0xe4]
lea eax, [ebp - 0xd0]
push 0xc8
push eax
call dword [sym.imp.msvcrt.dll_sprintf_s]
add esp, 0x1c
jmp case.default.0x10033ba8
movsx eax, word [edi + 0x1c]
push eax
push dword [edi + 0x10]
xor eax, eax
cmp word [edi + 4], 1
push dword [edi + 0xc]
sete al
push ebx
lea eax, [eax*2 + 0x2b]
push eax
push dword [ebp - 0xe4]
lea eax, [ebp - 0xd0]
push 0xc8
push eax
call dword [sym.imp.msvcrt.dll_sprintf_s]
add esp, 0x20
jmp case.default.0x10033ba8
movsx eax, cx
push eax
movsx eax, word [edi + 0x1c]
push eax
lea eax, [ebp - 0xdc]
push eax
push dword [edi + 0x14]
xor eax, eax
cmp word [edi + 4], 1
push dword [edi + 0x10]
sete al
push dword [edi + 0xc]
push ebx
lea eax, [eax*2 + 0x2b]
push eax
push dword [ebp - 0xe4]
lea eax, [ebp - 0xd0]
push 0xc8
push eax
call dword [sym.imp.msvcrt.dll_sprintf_s]
add esp, 0x2c
jmp case.default.0x10033ba8
movsx eax, word [edi + 0x1c]
push eax
push dword [edi + 0x10]
xor eax, eax
cmp word [edi + 4], 1
push dword [edi + 0xc]
sete al
lea eax, [eax*2 + 0x2b]
push eax
push dword [ebp - 0xe4]
lea eax, [ebp - 0xd0]
push 0xc8
push eax
call dword [sym.imp.msvcrt.dll_sprintf_s]
mov ebx, dword [edi + 0xc]
add esp, 0x1c
jmp case.default.0x10033ba8
movsx eax, cx
push eax
movsx eax, word [edi + 0x1c]
push eax
lea eax, [ebp - 0xdc]
push eax
push dword [edi + 0x14]
xor eax, eax
cmp word [edi + 4], 1
push dword [edi + 0x10]
sete al
push dword [edi + 0xc]
lea eax, [eax*2 + 0x2b]
push eax
push dword [ebp - 0xe4]
lea eax, [ebp - 0xd0]
push 0xc8
push eax
call dword [sym.imp.msvcrt.dll_sprintf_s]
mov ebx, dword [edi + 0xc]
add esp, 0x28
jmp case.default.0x10033ba8
movsx eax, cx
push eax
movsx eax, word [edi + 0x1c]
push eax
lea eax, [ebp - 0xdc]
push eax
push dword [edi + 0x14]
xor eax, eax
cmp word [edi + 4], 1
push dword [edi + 0x10]
sete al
lea eax, [eax*2 + 0x2b]
push eax
push dword [ebp - 0xe4]
lea eax, [ebp - 0xd0]
push 0xc8
push eax
call dword [sym.imp.msvcrt.dll_sprintf_s]
add esp, 0x24
mov ebx, dword [edi + 0x10]
movsx eax, word [edi + 0x1c]
cmp ebx, dword [eax*4 + 0x10004800]
jb 0x10033e61
mov eax, 0x84
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x18
lea ebx, [ebp - 0xd0]
lea ecx, [ebx + 1]
lea ebx, [ebx]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10033e70
sub ebx, ecx
lea edx, [ebp - 0xd0]
cmp word [ebp - 0x100], 1
je case.0x10033ee3.4
lea ecx, [ebp - 0xd0]
lea eax, [ecx + 1]
mov dword [ebp - 0xd4], eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033ea0
mov eax, dword [ebp - 0xe8]
sub ecx, dword [ebp - 0xd4]
mov dword [eax], ecx
jne 0x10033ec2
mov dword [eax], 1
mov ecx, 1
cmp word [ebp + 0x14], 0x62
jne 0x10033f7a
mov eax, dword [ebp - 0x104]
cmp eax, 0x24
ja case.0x10033ee3.4
movzx eax, byte [eax + 0x1003417c]
jmp dword [eax*4 + 0x1003416c]
mov eax, dword [ebp - 0xe8]
mov edi, edx
mov byte [ecx + edx], 0
inc edx
mov ecx, dword [eax]
mov eax, 0xc7
sub eax, ecx
add edx, ecx
push eax
push edx
push 0
push edi
push 0
push 0x400
mov dword [ebp - 0xf8], edx
call dword [sym.imp.KERNEL32.dll_GetCurrencyFormatA]
mov edx, dword [ebp - 0xe8]
mov dword [edx], eax
jmp 0x10033f84
push 0x45
push edx
mov byte [ecx + edx], 0
call dword [sym.imp.msvcrt.dll_strchr]
add esp, 8
test eax, eax
jne case.0x10033ee3.4
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xf8]
mov edi, edx
mov eax, dword [ecx]
mov byte [edx + eax], 0
mov eax, 0xc7
mov ecx, dword [ecx]
inc edx
sub eax, ecx
add edx, ecx
push eax
push edx
push 0
push edi
push 0
push 0x400
mov dword [ebp - 0xf8], edx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov edx, dword [ebp - 0xe8]
mov dword [edx], eax
jmp 0x10033f84
mov edx, eax
jmp 0x10033f84
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xf4]
dec eax
test ebx, ebx
je 0x10033fab
cmp ebx, eax
jle 0x10033fab
mov eax, 0x82
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [edx]
cmp ecx, eax
jle 0x10033ff4
xor ebx, ebx
test eax, eax
sets bl
dec ebx
and ebx, eax
cmp word [ebp - 0x100], 1
jne 0x10033fe8
push 0x20
push ecx
mov edx, ebx
mov ecx, edi
call fcn.10039670
neg eax
sbb eax, eax
and eax, 0xffffff80
add eax, 0xee
movzx eax, ax
mov dword [ebp - 0xfc], eax
jmp 0x10033ff6
mov dword [ebp - 0xfc], 0x6e
jmp 0x10033ff6
mov ebx, ecx
mov eax, dword [ebp - 0xf8]
push ebx
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov byte [esi + ebx], 0
mov ax, word [ebp - 0xfc]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 4]
mov eax, 0x78
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x18
call fcn.1003a318
mov edi, edi
int3